Open
Description
Unable to select contacts. Seems that len(contacts)
is returning NoneType rather than int
.
Here is the traceback:
Traceback (most recent call last):
File "/opt/signal-curses/main.py", line 37, in <module>
scurses.launcher.run(args)
File "/opt/signal-curses/scurses/launcher/__init__.py", line 30, in run
signal.run()
File "/usr/lib/python3.8/site-packages/npyscreen/apNPSApplication.py", line 30, in run
return npyssafewrapper.wrapper(self.__remove_argument_call_main)
File "/usr/lib/python3.8/site-packages/npyscreen/npyssafewrapper.py", line 41, in wrapper
wrapper_no_fork(call_function)
File "/usr/lib/python3.8/site-packages/npyscreen/npyssafewrapper.py", line 97, in wrapper_no_fork
return_code = call_function(_SCREEN)
File "/usr/lib/python3.8/site-packages/npyscreen/apNPSApplication.py", line 25, in __remove_argument_call_main
return self.main()
File "/usr/lib/python3.8/site-packages/npyscreen/apNPSApplicationManaged.py", line 174, in main
self._THISFORM.afterEditing()
File "/opt/signal-curses/scurses/__init__.py", line 186, in afterEditing
selected, is_group = self.getFromId(self.tree.value)
File "/opt/signal-curses/scurses/__init__.py", line 180, in getFromId
is_group = (tree_id > len(contacts) + 2)
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Metadata
Metadata
Assignees
Labels
No labels