1
0
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:
Ozzie Isaacs 2023-02-18 14:34:31 +01:00
parent 3cb9a9b04a
commit 6b2ca9537d

View File

@ -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