Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-s-77 committed Apr 7, 2022
1 parent 4439c53 commit 26ed93e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
Binary file modified .vs/Hypixel/v17/.suo
Binary file not shown.
Binary file modified .vs/slnx.sqlite
Binary file not shown.
4 changes: 2 additions & 2 deletions code.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def count():
for i in data['guild']['members']:
if(i['expHistory'][y+"-"+m+"-"+d]>=need):
uuid = i["uuid"]
if(uuid in score.keys):
if(uuid in str(score.keys())):
score[uuid]=score[uuid]+1
else:
score[uuid]=1
Expand All @@ -122,7 +122,7 @@ def count():
f.write(datas["player"]["displayname"]+": " + str(score[uuid])+"\n")
else:
uuid = i["uuid"]
if(uuid in score.keys()):
if(uuid in str(score.keys())):
datas = requests.get(
url = "https://api.hypixel.net/player",
params = {
Expand Down
5 changes: 0 additions & 5 deletions 設定.json

This file was deleted.

0 comments on commit 26ed93e

Please sign in to comment.