make param configFile optional

This commit is contained in:
Alan Hamlett 2014-12-24 11:49:46 -06:00
parent 34c92951e0
commit f49470a2c9

View file

@ -102,7 +102,7 @@ def upgradeConfigFile(configFile):
pass
def parseConfigFile(configFile):
def parseConfigFile(configFile=None):
"""Returns a configparser.SafeConfigParser instance with configs
read from the config file. Default location of the config file is
at ~/.wakatime.cfg.