reduce indent space
This commit is contained in:
2
bot.py
2
bot.py
@ -147,7 +147,7 @@ def backup_db():
|
|||||||
'question': user.question
|
'question': user.question
|
||||||
}
|
}
|
||||||
with open('users.json', 'w') as f:
|
with open('users.json', 'w') as f:
|
||||||
json.dump(users_backup, f, indent=' ')
|
json.dump(users_backup, f, indent=' ')
|
||||||
|
|
||||||
def restore_db():
|
def restore_db():
|
||||||
with open('users.json', 'r') as f:
|
with open('users.json', 'r') as f:
|
||||||
|
Reference in New Issue
Block a user