This commit is contained in:
NikolajDanger
2020-08-06 21:02:41 +02:00
parent 9504844bc1
commit 1a2c0eec9b

View File

@ -23,7 +23,7 @@ def addMoney(user,amount):
points = data[user]["money"] points = data[user]["money"]
data[user]["money"] = points + amount data[user]["money"] = points + amount
else: else:
logThis("Error adding money") data[user]["money"] = amount
with open("resources/users.json", "w") as f: with open("resources/users.json", "w") as f:
json.dump(data,f,indent=4) json.dump(data,f,indent=4)