mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-30 14:53:01 +00:00
Revert restart change
This commit is contained in:
@@ -266,7 +266,7 @@ class WebServer(object):
|
|||||||
if os.environ.get('FLASK_DEBUG'):
|
if os.environ.get('FLASK_DEBUG'):
|
||||||
subprocess.run(args, close_fds=True) # nosec
|
subprocess.run(args, close_fds=True) # nosec
|
||||||
else:
|
else:
|
||||||
subprocess.Popen(args, close_fds=True) # nosec
|
subprocess.run(args, close_fds=True) # nosec
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user