🐛
This commit is contained in:
1 parent
9504844bc1
commit
1a2c0eec9b
1 file changed
+1
-1
@@ -23,7 +23,7 @@ def addMoney(user,amount):
|
||||
points = data[user]["money"]
|
||||
data[user]["money"] = points + amount
|
||||
else:
|
||||
logThis("Error adding money")
|
||||
data[user]["money"] = amount
|
||||
|
||||
with open("resources/users.json", "w") as f:
|
||||
json.dump(data,f,indent=4)
|
||||
|
||||
Reference in new issue
Block a user