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 # add wakatime package to path
sys.path.insert(0, os.path.join(PLUGIN_DIR, 'packages')) sys.path.insert(0, os.path.join(PLUGIN_DIR, 'packages'))
try: try:
from wakatime.main import parseConfigFile from wakatime.configs import parseConfigFile
except ImportError: except ImportError:
def parseConfigFile(): def parseConfigFile():
return None return None