always print error message when not able to read config file

This commit is contained in:
Alan Hamlett 2014-10-04 11:15:33 -07:00
parent 670141413e
commit 40c5656910

View file

@ -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