summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ngxtop/config_parser.py2
-rwxr-xr-xngxtop/ngxtop.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/ngxtop/config_parser.py b/ngxtop/config_parser.py
index b8e4804..f6999cf 100644
--- a/ngxtop/config_parser.py
+++ b/ngxtop/config_parser.py
@@ -8,7 +8,7 @@ import subprocess
from pyparsing import Literal, Word, ZeroOrMore, OneOrMore, Group, \
printables, quotedString, pythonStyleComment, removeQuotes
-from utils import choose_one, error_exit
+from .utils import choose_one, error_exit
REGEX_SPECIAL_CHARS = r'([\.\*\+\?\|\(\)\{\}\[\]])'
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 = [