always print error message when not able to read config file
This commit is contained in:
parent
670141413e
commit
40c5656910
1 changed files with 1 additions and 2 deletions
|
@ -122,7 +122,6 @@ def parseConfigFile(configFile):
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
return None
|
return None
|
||||||
except IOError:
|
except IOError:
|
||||||
if not os.path.isfile(configFile):
|
|
||||||
print(u('Error: Could not read from config file {0}').format(configFile))
|
print(u('Error: Could not read from config file {0}').format(configFile))
|
||||||
return configs
|
return configs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue