fix import namespace

This commit is contained in:
Alan Hamlett 2016-11-11 11:16:17 +01:00
parent c4c27e4e9e
commit 205d4eb163

View File

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