Aidaho 3 years ago
parent 0e1bd121ff
commit 1a05993a31

@ -122,11 +122,11 @@ def default_values():
try: try:
if Role.get(Role.name == 'superAdmin').role_id == 1: if Role.get(Role.name == 'superAdmin').role_id == 1:
create_users = True
else:
create_users = False create_users = False
else:
create_users = True
except Exception: except Exception:
create_users = False create_users = True
try: try:
if create_users: if create_users:

Loading…
Cancel
Save