Fixed some things

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

No files matched your search

+1 -1
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)