Skip to content

Commit

Permalink
Update const.py
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter authored Oct 15, 2024
1 parent 54b9854 commit 92cde00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sweetbean/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def FUNCTION_PREAMBLE(is_async):
async_string = ""
if is_async:
async_string = "async "
return f"{async_string}function runExperiment() " + "{\n"
return f"{async_string}function runExperiment() " + ("{\n"
"document.body.style.backgroundColor = 'black';\n")


def FUNCTION_APPENDIX(is_async):
Expand Down

0 comments on commit 92cde00

Please sign in to comment.