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

fixed os-specific failure to correctly sort messages by date #25

Closed brandoncurtis closed 8 years ago

brandoncurtis commented 8 years ago

In Linux, messages in a channel are not properly sorted by date as noted in #23. This bug is OS-specific because of the OS-dependent behavior of os.listdir(). Using sorted(os.listdir()) solves this issue.

hfaran commented 8 years ago

Thanks for the fix @brandoncurtis !

hfaran commented 8 years ago

0.1.7 has been pushed to PyPI with this fix.