import error
This commit is contained in:
parent
ed70856172
commit
ac38f928b4
1 changed files with 1 additions and 1 deletions
|
@ -451,8 +451,8 @@ def check_pidfile(pid):
|
||||||
return check_pid(pid)
|
return check_pid(pid)
|
||||||
|
|
||||||
def ctl(*args):
|
def ctl(*args):
|
||||||
if sys.platform == 'win32':
|
|
||||||
import settings
|
import settings
|
||||||
|
if sys.platform == 'win32':
|
||||||
platform_win32 = os.path.normpath(os.path.join(settings.base_dir, '..', 'platform_win32'))
|
platform_win32 = os.path.normpath(os.path.join(settings.base_dir, '..', 'platform_win32'))
|
||||||
python = os.path.join(platform_win32, 'pythonw.exe')
|
python = os.path.join(platform_win32, 'pythonw.exe')
|
||||||
cmd = [python, 'oml'] + list(args)
|
cmd = [python, 'oml'] + list(args)
|
||||||
|
|
Loading…
Reference in a new issue