Skip to content

Commit

Permalink
pydocstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
infothrill committed Feb 14, 2020
1 parent 8da83c0 commit 72831eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dyndnsc/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def run_forever(dyndnsclients):
time.sleep(15)
for dyndnsclient in dyndnsclients:
dyndnsclient.check()
except (KeyboardInterrupt,):
except KeyboardInterrupt:
break
except (Exception,) as exc:
except Exception as exc:
LOG.critical("An exception occurred in the dyndns loop", exc_info=exc)
return 0

Expand Down

0 comments on commit 72831eb

Please sign in to comment.