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:
Gina Häußge committed 2016-07-15 12:28:19 +02:00
commit 47b7acdfbc
23 files changed
+236 -210

No files matched your search

+1 -1
View File
@@ -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)