Jobber : Show errors.
This commit is contained in:
parent
d1c7bb2873
commit
edc51ec153
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue