From ac38f928b4ee1103f20062bc21a3cc68552991d5 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 1 Feb 2016 13:36:48 +0530 Subject: [PATCH] import error --- oml/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oml/utils.py b/oml/utils.py index 2e42c25..b5623b1 100644 --- a/oml/utils.py +++ b/oml/utils.py @@ -451,8 +451,8 @@ def check_pidfile(pid): return check_pid(pid) def ctl(*args): + import settings if sys.platform == 'win32': - import settings platform_win32 = os.path.normpath(os.path.join(settings.base_dir, '..', 'platform_win32')) python = os.path.join(platform_win32, 'pythonw.exe') cmd = [python, 'oml'] + list(args)