Skip to content
Snippets Groups Projects
Commit 7b63e725 authored by jkerdreu's avatar jkerdreu
Browse files

Fix error msg on missing config file

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1654 b32b6428-25c9-4566-ad07-03861ab6144f
parent 39af7ea6
Branches
No related tags found
No related merge requests found
......@@ -48,4 +48,3 @@ def load_config(name='xaal.ini'):
self.key = None
load_config()
......@@ -59,7 +59,7 @@ def load_cfg(app_name):
def load_cfg_or_die(app_name):
cfg = load_cfg(app_name)
if not cfg:
print("Unable to load config file")
print("Unable to load config file %s" % get_cfg_filename(app_name))
sys.exit(-1)
return cfg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment