Quick fix NoneType

This commit is contained in:
Florian Kellermann
2022-05-13 11:59:11 +02:00
parent e25c51d21a
commit 56bb9908d1
2 changed files with 6 additions and 1 deletions

View File

@@ -66,6 +66,11 @@ def update_crontab(p_my_handler):
all_users = p_my_handler.get_all_users() # get all users so crontabs can update for everybody
if all_users == None:
print("No users found, trying again.")
update_crontab(p_my_handler)
return
user_ids = []
user_crontab = []