Skip to content

Commit

Permalink
Better handle connection issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronTraas committed May 7, 2019
1 parent 49eb9c9 commit c8ffa5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crtools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,11 @@ def load_config_file(config_file_name=None, locale=None):
config = __validate_paths(config)
config = __validate_crtools_settings(config)

logging.getLogger(__name__).debug(config)

if locale:
config['crtools']['locale'] = locale

config['strings'] = __localize_strings(config['crtools']['locale'])

logging.getLogger(__name__).debug(config)
return config
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
setup_requires=['babel'],
install_requires=['jinja2','configparser','pyroyale==0.3.0'],
install_requires=['jinja2','configparser','pyroyale==0.4.0'],
tests_requires=['pytest','pytest-runner','coverage','requests_mock'],

include_package_data=True,
Expand Down

0 comments on commit c8ffa5a

Please sign in to comment.