Fixed some things

This commit is contained in:
NikolajDanger
2020-03-29 15:53:50 +02:00
parent af3ed1338c
commit 892529cc4d
3 changed files with 7 additions and 78 deletions

View File

@ -168,7 +168,7 @@ def parseChar(user : str, cmd : str):
json.dump(data,f,indent = 4)
return "", "Character for " + user + " created"
else:
if cmd == "purge":
if cmd == "Purge":
del data[user]
with open("resources/swcharacters.json", "w") as f:
json.dump(data,f,indent = 4)