Skip to content

Commit

Permalink
Fix exception catch in cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikakoi committed Apr 13, 2018
1 parent dcc5955 commit 31f4f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dexbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from appdirs import user_config_dir

APP_NAME = "dexbot"
VERSION = '0.1.12'
VERSION = '0.1.13'
AUTHOR = "codaone"
__version__ = VERSION

Expand Down
2 changes: 1 addition & 1 deletion dexbot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run(ctx):
signal.signal(signal.SIGHUP, kill_workers)
# TODO: reload config on SIGUSR1
# signal.signal(signal.SIGUSR1, lambda x, y: worker.do_next_tick(worker.reread_config))
except ValueError:
except AttributeError:
log.debug("Cannot set all signals -- not available on this platform")
worker.run()
finally:
Expand Down

0 comments on commit 31f4f4f

Please sign in to comment.