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)