Jobber : Show errors.

This commit is contained in:
Dmitry Voronin 2024-06-19 10:53:23 +03:00
parent d1c7bb2873
commit edc51ec153
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -101,8 +101,6 @@ def toggle_button(cred, at_work):
toggle_vpn(False) toggle_vpn(False)
def main(): def main():
while True:
try:
# load users # load users
users = open(USERS, 'r').readlines() users = open(USERS, 'r').readlines()
for user in users: for user in users:
@ -137,7 +135,4 @@ def main():
# loop delay # loop delay
print('not the right time, waiting {}s'.format(DELAY_CYCLE)) print('not the right time, waiting {}s'.format(DELAY_CYCLE))
time.sleep(DELAY_CYCLE) time.sleep(DELAY_CYCLE)
except:
time.sleep(DELAY_ERROR)
pass