fix import path of parseConfigFile
This commit is contained in:
parent
b2086a3cd2
commit
1e23919694
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue