Skip to content

Commit 984c55f

Browse files
committed
Fix current_variable being overwritten with current_token
1 parent 921cc51 commit 984c55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def setupGlobals(uiactioncontext, uicontext):
190190
var = Variable.from_core_variable(uiactioncontext.function, var)
191191

192192
snippetGlobals['current_variable'] = var
193-
snippetGlobals['current_variable'] = token
193+
snippetGlobals['current_token'] = token
194194

195195
return snippetGlobals
196196

0 commit comments

Comments
 (0)