Skip to content

Commit b931dba

Browse files
author
Derp McDerpson
authored
Update logicode.py
1 parent 30d6ee0 commit b931dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logicode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def Expression(result):
117117
if operator == "[h]":
118118
return lambda scope: [result[0](scope)[0]]
119119
if operator == "[t]":
120-
return lambda scope: [result[0](scope)[-1]]
120+
return lambda scope: ["".join(str(x) for x in result[0](scope)[1:])]
121121
# Function call
122122
name = result[0]
123123
args = result[1]

0 commit comments

Comments
 (0)