sebseager / slack-exporter

A Slack bot for exporting content from public and private channels.
GNU General Public License v3.0
125 stars 35 forks source link

Fix `OSError` on invalid filename #16

Closed ddabble closed 1 year ago

ddabble commented 1 year ago

This happens if the filename of a downloaded file contains invalid characters for the current OS, e.g. a filename containing ? or / on Windows.

Also added pathvalidate as a requirement (https://pypi.org/project/pathvalidate/).