Browse Source

Bugfix in webui plugin

Yann Weber 8 years ago
parent
commit
f2b33f4fe3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      plugins/webui/main.py

+ 1
- 1
plugins/webui/main.py View File

9
 def uwsgi_fork(hook_name, caller, payload):
9
 def uwsgi_fork(hook_name, caller, payload):
10
     if Settings.webui.standalone:
10
     if Settings.webui.standalone:
11
         cmd='uwsgi_python3 --http-socket {addr}:{port} --module run'
11
         cmd='uwsgi_python3 --http-socket {addr}:{port} --module run'
12
-        cmd.format(
12
+        cmd = cmd.format(
13
                     addr = Settings.webui.listen_address,
13
                     addr = Settings.webui.listen_address,
14
                     port = Settings.webui.listen_port)
14
                     port = Settings.webui.listen_port)
15
         exit(os.system(cmd))
15
         exit(os.system(cmd))

Loading…
Cancel
Save