Returned True if succesful, was not returning causing all my commands to think saving content was failing...
This commit is contained in:
parent
27a2f8f45d
commit
2807f91a7b
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ def saveContent(key: str, content):
|
|||
else:
|
||||
jf.truncate()
|
||||
json.dump(data, jf, indent=4)
|
||||
return True
|
||||
|
||||
|
||||
def getContent(key: str):
|
||||
|
|
Loading…
Reference in a new issue