carderne / signal-export

Export your Signal chats to markdown files with attachments
Other
446 stars 47 forks source link

Account for case when 'None' is one of the contact names #19

Closed fjulian closed 3 years ago

fjulian commented 3 years ago

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.

fjulian commented 3 years ago

Sure, just updated it. Thanks for reviewing this so quickly.