hfaran / slack-export-viewer

A Slack Export archive viewer that allows you to easily view and share your Slack team's export
https://pypi.python.org/pypi/slack-export-viewer
MIT License
908 stars 192 forks source link

Fix broken channel name parsing #98

Closed karlding closed 5 years ago

karlding commented 5 years ago

The previous change added a --channels flag that uses a default value of '' when no argument is passed. It performs checking that it is a string type before splitting, and then uses that in the list comprehension to build all the channel names. As such, we would filter out all the channel names, and cause a IndexError: list index out of range