print actual location of config file in error message when not able to read from it

This commit is contained in:
Alan Hamlett 2014-10-04 11:09:25 -07:00
parent 1800f93d8d
commit 670141413e
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def parseConfigFile(configFile):
return None
except IOError:
if not os.path.isfile(configFile):
print('Error: Could not read from config file ~/.wakatime.cfg')
print(u('Error: Could not read from config file {0}').format(configFile))
return configs