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 # 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.base import parseConfigFile from wakatime.main import parseConfigFile
except ImportError: except ImportError:
pass pass