sanjacob / BlackboardSync

Download your Blackboard Learn content automatically
https://bbsync.app
GNU General Public License v2.0
34 stars 11 forks source link

Avoid filename conflicts with content and attachments, handle oserror #385

Closed sanjacob closed 2 months ago

sanjacob commented 2 months ago

With these changes the file extension will be guessed from the mimetype property found in the BBAttachment object. If the filename already has a valid extension for the mimetype then it won't be appended.

OSError happening in the thread pool executor is now handled and the user is informed of this. The download will not count as complete.

Closes #384

github-actions[bot] commented 2 months ago

The build process has succeeded. Please test either package-macos-12 (x86_64), package-macos-14 (arm64), or package-windows-latest. You can find them here at the bottom of the page. Let me know if everything seems fine.