Update users_management.py
Browse files- users_management.py +2 -0
users_management.py
CHANGED
@@ -71,6 +71,8 @@ def update_json(user, prompt, keywords):
|
|
71 |
|
72 |
# with open('users.json', 'r') as file:
|
73 |
# saved_data = json.load(file)
|
|
|
|
|
74 |
|
75 |
users = load_from_json()
|
76 |
user = users.get(username)
|
|
|
71 |
|
72 |
# with open('users.json', 'r') as file:
|
73 |
# saved_data = json.load(file)
|
74 |
+
else:
|
75 |
+
conf_file_path = "users.json"
|
76 |
|
77 |
users = load_from_json()
|
78 |
user = users.get(username)
|