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
939 stars 194 forks source link

Slackbot variable problem #82

Closed cereal76 closed 5 years ago

cereal76 commented 5 years ago

File "c:\users\username\appdata\local\programs\python\python37\lib\sitepackages\slackviewer\formatter.py", line 37, in find_user "real_name": bot_name, UnboundLocalError: local variable 'bot_name' referenced before assignment

cereal76 commented 5 years ago

Figured it out. On line 33 add:

else: bot_name = None bot_url = None

uavpal commented 5 years ago

had the same issue and your solution fixed it! thanks man!

hfaran commented 5 years ago

Resolved by #84 . Published v 0.8.1.