cxzzcx
This commit is contained in:
parent
6482c5ba06
commit
dbdcefcfd9
7 changed files with 14 additions and 14 deletions
|
@ -31,7 +31,7 @@ def leaderboard_thread():
|
|||
|
||||
if SITE_NAME == 'Drama':
|
||||
users13 = {}
|
||||
with open("marseys.json", 'r') as f: authors = (x for x in loads(f.read()).values())
|
||||
with open("marseys.json", 'r') as f: authors = (x for x in loads(f.read().replace("'",'"')).values())
|
||||
for x in authors:
|
||||
if x["author"] in users13: users13[x["author"]] += 1
|
||||
else: users13[x["author"]] = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue