From 0d6919025c793fda99af74869c0654b83155a518 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Sat, 7 Sep 2013 19:06:38 -0700 Subject: [PATCH] upgraded wakatime package to v0.4.5 --- plugin/packages/wakatime/HISTORY.rst | 6 ++++++ plugin/packages/wakatime/wakatime/__init__.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugin/packages/wakatime/HISTORY.rst b/plugin/packages/wakatime/HISTORY.rst index 3e0927f..9f4977b 100644 --- a/plugin/packages/wakatime/HISTORY.rst +++ b/plugin/packages/wakatime/HISTORY.rst @@ -3,6 +3,12 @@ History ------- +0.4.5 (2013-09-07) +++++++++++++++++++ + +- Fixed relative import error by adding packages directory to sys path + + 0.4.4 (2013-09-06) ++++++++++++++++++ diff --git a/plugin/packages/wakatime/wakatime/__init__.py b/plugin/packages/wakatime/wakatime/__init__.py index 97d4283..e333873 100644 --- a/plugin/packages/wakatime/wakatime/__init__.py +++ b/plugin/packages/wakatime/wakatime/__init__.py @@ -12,7 +12,7 @@ from __future__ import print_function __title__ = 'wakatime' -__version__ = '0.4.4' +__version__ = '0.4.5' __author__ = 'Alan Hamlett' __license__ = 'BSD' __copyright__ = 'Copyright 2013 Alan Hamlett' @@ -28,6 +28,7 @@ import time import traceback sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages')) from .log import setup_logging from .project import find_project from .packages import argparse