mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-01 05:49:58 +00:00
revert restart change
This commit is contained in:
parent
3cb9a9b04a
commit
6b2ca9537d
@ -265,7 +265,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