summaryrefslogtreecommitdiffstats
path: root/module/web/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/manage.py')
-rw-r--r--module/web/manage.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/web/manage.py b/module/web/manage.py
index 782f6fbe0..6a00ab565 100644
--- a/module/web/manage.py
+++ b/module/web/manage.py
@@ -1,9 +1,8 @@
#!/usr/bin/env python
-
+from __future__ import with_statement
import os
pid = os.fork()
-
if pid:
with open("webserver.pid", "w") as f:
f.write(str(pid))