all ruff checking and modify Converter class
This commit is contained in:
@@ -3,7 +3,7 @@ import json
|
||||
|
||||
def load_data():
|
||||
try:
|
||||
with open('users.json', 'r') as f:
|
||||
with open('users.json') as f:
|
||||
return json.load(f)
|
||||
except FileNotFoundError:
|
||||
return {'users': [], 'chats': []}
|
||||
|
||||
Reference in New Issue
Block a user