aboutsummaryrefslogtreecommitdiff
path: root/scripts/custom_code.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/custom_code.py')
-rw-r--r--scripts/custom_code.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/custom_code.py b/scripts/custom_code.py
index 4071d86d..f36a3675 100644
--- a/scripts/custom_code.py
+++ b/scripts/custom_code.py
@@ -77,7 +77,7 @@ return process_images(p)
module.display = display
indent = " " * indent_level
- indented = code.replace('\n', '\n' + indent)
+ indented = code.replace('\n', f"\n{indent}")
body = f"""def __webuitemp__():
{indent}{indented}
__webuitemp__()"""