Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Fixed issue where config host and port was not initialized before ser…
Browse files Browse the repository at this point in the history
…ver start
  • Loading branch information
coreyjrobins committed Dec 20, 2017
1 parent 14d5106 commit 52a8b54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions walkoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def run(host, port):
flaskserver.running_context.controller.initialize_threading(pids=pids)
# The order of these imports matter for initialization (should probably be fixed)


import core.case.database as case_database
case_database.initialize()

Expand Down Expand Up @@ -109,7 +108,7 @@ def convert_host_port(args):
args = parse_args()
exit_code = 0
try:

config.initialize()
run(*convert_host_port(args))
except KeyboardInterrupt:
logger.info('Caught KeyboardInterrupt!')
Expand Down

0 comments on commit 52a8b54

Please sign in to comment.