mirror of
https://github.com/janeczku/calibre-web.git
synced 2025-05-13 22:06:50 +02: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…
x
Reference in New Issue
Block a user