fix import path of parseConfigFile

This commit is contained in:
Alan Hamlett 2019-05-28 20:53:58 -07:00
parent b2086a3cd2
commit 1e23919694

View File

@ -140,7 +140,7 @@ ERROR = 'ERROR'
# add wakatime package to path
sys.path.insert(0, os.path.join(PLUGIN_DIR, 'packages'))
try:
from wakatime.main import parseConfigFile
from wakatime.configs import parseConfigFile
except ImportError:
def parseConfigFile():
return None