Loading openflexure_microscope/api/v2/blueprints/actions/system.py +1 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,6 @@ class RebootAPI(MicroscopeView): .. :quickref: Actions; Shutdown """ subprocess.Popen(["sudo", "shutdown", "-r", "now"]) subprocess.Popen(["shutdown", "-r", "now"]) return "{}", 201 Loading
openflexure_microscope/api/v2/blueprints/actions/system.py +1 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,6 @@ class RebootAPI(MicroscopeView): .. :quickref: Actions; Shutdown """ subprocess.Popen(["sudo", "shutdown", "-r", "now"]) subprocess.Popen(["shutdown", "-r", "now"]) return "{}", 201