summaryrefslogtreecommitdiffstats
path: root/ngxtop/ngxtop.py
diff options
context:
space:
mode:
authorBinh Le <lebinh.it@gmail.com>2014-05-05 22:32:51 +0700
committerBinh Le <lebinh.it@gmail.com>2014-05-05 22:32:51 +0700
commitffce3c36b9e9358e4f3b504ce1036ddc4b37a6a8 (patch)
treed4e0f6bc44f867dd3b2410e88802d561e304e663 /ngxtop/ngxtop.py
parent3694d55b15f73b531d8c7951711799ffa3c7521a (diff)
parentfc6b8a308362f3fdbc459358a99cf1afe39b45d9 (diff)
Merge pull request #37 from jleclanche/fix/33
Use relative imports. Fixes #33
Diffstat (limited to 'ngxtop/ngxtop.py')
-rwxr-xr-xngxtop/ngxtop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ngxtop/ngxtop.py b/ngxtop/ngxtop.py
index afb5bc3..8667b8b 100755
--- a/ngxtop/ngxtop.py
+++ b/ngxtop/ngxtop.py
@@ -74,8 +74,8 @@ except ImportError:
from docopt import docopt
import tabulate
-from config_parser import detect_log_config, detect_config_path, extract_variables, build_pattern
-from utils import error_exit
+from .config_parser import detect_log_config, detect_config_path, extract_variables, build_pattern
+from .utils import error_exit
DEFAULT_QUERIES = [