🐛 Fix some bugs introduced by code styling
This commit is contained in:
1 parent
86255c7bbe
commit
7c4582a0fe
2 files changed
+5
-3
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user