reduce indent space

This commit is contained in:
2017-09-23 17:50:51 +08:00
parent df87ada8c4
commit 1eac440988

2
bot.py
View File

@ -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: