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'):
subprocess.run(args, close_fds=True) # nosec
else:
subprocess.Popen(args, close_fds=True) # nosec
subprocess.run(args, close_fds=True) # nosec
return True
@staticmethod