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
950 stars 193 forks source link

Handle case on home page where no channels exist in the export #118

Closed chopley closed 4 years ago

chopley commented 4 years ago

This is an effort to handle Issue #105 - this error occurs when the output from https://github.com/zach-snell/slack-export does not include a public channel. This quick fix checks whether any public channels are included in the request, and if not moves on to private groups, direct messages etc.

Resolves #105

chopley commented 4 years ago

Thanks @saschamarkus - I did not have any DMs- I've incorporated your suggestions and updated.