SafeConfigParser was renamed to ConfigParser in py3.2
This commit is contained in:
parent
50141ef7b9
commit
5324601bf3
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def parseConfigFile(configFile=None):
|
||||||
if not configFile:
|
if not configFile:
|
||||||
configFile = os.path.join(os.path.expanduser('~'), '.wakatime.cfg')
|
configFile = os.path.join(os.path.expanduser('~'), '.wakatime.cfg')
|
||||||
|
|
||||||
configs = configparser.SafeConfigParser(delimiters=('='), strict=False)
|
configs = configparser.ConfigParser(delimiters=('='), strict=False)
|
||||||
try:
|
try:
|
||||||
with open(configFile, 'r', encoding='utf-8') as fh:
|
with open(configFile, 'r', encoding='utf-8') as fh:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue