heymenn commited on
Commit
aeaa082
1 Parent(s): 1b13e5d

Update users_management.py

Browse files
Files changed (1) hide show
  1. 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)