Skip to content

Commit

Permalink
Print message after constructing file path
Browse files Browse the repository at this point in the history
:embarassing:
  • Loading branch information
paramsingh committed Jul 19, 2018
1 parent 73489ac commit 17c3ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def create_app_with_configuration(config_path=None):

# if deploying in a production docker environment, load consul_config.py
if deploy_env and not config_path:
print("Checking if consul generated config file exists: $s" % config_file)
consul_config = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "consul_config.py")
print("Checking if consul generated config file exists: %s" % consul_config)
for _ in range(CONSUL_CONFIG_FILE_RETRY_COUNT):
if not os.path.exists(consul_config):
time.sleep(1)
Expand Down

0 comments on commit 17c3ab3

Please sign in to comment.