🐛 Fix some bugs introduced by code styling

This commit is contained in:
Gina Häußge committed 2020-10-07 17:12:13 +02:00
1 parent 86255c7bbe
commit 7c4582a0fe
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -9,6 +9,8 @@ import base64
import logging
import sys
PY3 = sys.version_info[0] == 3
import flask as _flask
import flask_login
@@ -21,8 +23,6 @@ from octoprint.util import deprecated, to_unicode
from . import flask, sockjs, tornado, watchdog # noqa: F401
PY3 = sys.version_info[0] == 3
@deprecated(
"API keys are no longer needed for anonymous access and thus this is now obsolete"
+3 -1
View File
@@ -449,7 +449,9 @@ class PipCaller(CommandlineCaller):
stderr=sarge.Capture(),
cwd=testballoon,
env={
"TESTBALLOON_OUTPUT": to_native_str(testballoon_output_file)
to_native_str("TESTBALLOON_OUTPUT"): to_native_str(
testballoon_output_file
)
},
)
except Exception: