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,8 +122,7 @@ def parseConfigFile(configFile):
|
|||
print(traceback.format_exc())
|
||||
return None
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue