Skip to content

Commit 6d8ec35

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7e89e37 commit 6d8ec35

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

core/src/stdlib/pyscript/magic_js.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
RUNNING_IN_WORKER = not hasattr(globalThis, "document")
1010

11-
config = json.loads(globalThis.JSON.stringify(_config)) if isinstance(_config, dict) else {}
11+
config = (
12+
json.loads(globalThis.JSON.stringify(_config)) if isinstance(_config, dict) else {}
13+
)
1214

1315
if "MicroPython" in sys.version:
1416
config["type"] = "mpy"

0 commit comments

Comments
 (0)