mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 02:57:22 +00:00
Revert restart change
This commit is contained in:
parent
3d8256b6a6
commit
6119eb3681
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user