python-tinyscript icon indicating copy to clipboard operation
python-tinyscript copied to clipboard

Error at startup when enabling the `interact` feature

Open dhondta opened this issue 2 years ago • 0 comments

Traceback (most recent call last):
  File "/home/user/test.py", line 224, in <module>
    initialize(add_interact=True)
  File "/home/user/.local/lib/python3.11/site-packages/tinyscript/parser.py", line 199, in initialize
    set_interact_items(glob)
  File "/home/user/.local/lib/python3.11/site-packages/tinyscript/features/interact.py", line 20, in set_interact_items
    a, l = glob['args'], glob['logger']
           ~~~~^^^^^^^^
KeyError: 'args'

dhondta avatar Jul 27 '23 14:07 dhondta