Merge branch 'dev/python3A' of https://github.com/ByReaL/OctoPrint into pr/ByReaL/dev/python3A
Conflicts: src/octoprint/plugins/virtual_printer/virtual.py src/octoprint/printer/standard.py
This commit is contained in:
commit
47b7acdfbc
23 files changed
+236
-210
No files matched your search
@@ -93,7 +93,7 @@ def executeSystemCommand(source, command):
|
||||
error = "Command failed with return code {}:\nSTDOUT: {}\nSTDERR: {}".format(returncode, stdout_text, stderr_text)
|
||||
logger.warn(error)
|
||||
return make_response(error, 500)
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
if not ignore:
|
||||
error = "Command failed: {}".format(str(e))
|
||||
logger.warn(error)
|
||||
|
||||
Reference in new issue
Block a user