Skip to content

Commit ac8351d

Browse files
authored
didn't need the "".join(python_code) line (line 163) so it's been removed
1 parent f079f03 commit ac8351d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

swol.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
has_python_function_or_keyword = False
161161

162162
if has_python_function_or_keyword:
163-
python_code = "".join(python_code)
164163
raise SyntaxError(f"Your script contains a python keyword of function at: '{token}'")
165164
else:
166165
python_code[python_code.index(TOKENS.get(token))] = token

0 commit comments

Comments
 (0)