When trying to list contact names using the --list-chats options, an error was thrown in line 581:
TypeError: '<' not supported between instances of 'NoneType' and 'str'
The reason was that one of the contact names was None. To solve it, I added a loop that removes all None from the list of contact names. Afterwards, it worked.
When trying to list contact names using the
--list-chats
options, an error was thrown in line 581:The reason was that one of the contact names was
None
. To solve it, I added a loop that removes allNone
from the list of contact names. Afterwards, it worked.