Skip to content

Commit

Permalink
Fix current_variable being overwritten with current_token
Browse files Browse the repository at this point in the history
  • Loading branch information
ElykDeer committed Apr 12, 2024
1 parent 921cc51 commit 984c55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def setupGlobals(uiactioncontext, uicontext):
var = Variable.from_core_variable(uiactioncontext.function, var)

snippetGlobals['current_variable'] = var
snippetGlobals['current_variable'] = token
snippetGlobals['current_token'] = token

return snippetGlobals

Expand Down

0 comments on commit 984c55f

Please sign in to comment.