SafeConfigParser was renamed to ConfigParser in py3.2

This commit is contained in:
Alan Hamlett 2017-03-04 10:16:18 -08:00
parent 50141ef7b9
commit 5324601bf3

View file

@ -41,7 +41,7 @@ def parseConfigFile(configFile=None):
if not configFile:
configFile = os.path.join(os.path.expanduser('~'), '.wakatime.cfg')
configs = configparser.SafeConfigParser(delimiters=('='), strict=False)
configs = configparser.ConfigParser(delimiters=('='), strict=False)
try:
with open(configFile, 'r', encoding='utf-8') as fh:
try: