Skip to content

Commit

Permalink
Merge branch 'master' into 138-warning-exposed-back-end-ports
Browse files Browse the repository at this point in the history
  • Loading branch information
noliveleger committed Dec 4, 2020
2 parents c1f33cf + 7256bab commit 691bc63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def post_update(cls, cron):
# When `cron` is True, we want to bypass question and just recreate
# YML and environment files from new templates
if cron is True:
current_dict = config.get_template()
current_dict.update(config.get_dict())
current_dict = config.get_upgraded_dict()
config.set_config(current_dict)
config.write_config()
Template.render(config, force=True)
sys.exit(0)

Expand Down
1 change: 1 addition & 0 deletions helpers/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def __get_template_variables(config):
Args:
config (helpers.config.Config)
"""

dict_ = config.get_dict()

def _get_value(property_, true_value='', false_value='#',
Expand Down

0 comments on commit 691bc63

Please sign in to comment.