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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue