jbsparrow / CyberDropDownloader

Bulk Gallery Downloader for Cyberdrop.me and Other Sites
GNU General Public License v3.0
177 stars 14 forks source link

[BUG] incorrect free space check when OUTPUT_FOLDER is on different file system #104

Closed NTFSvolume closed 1 month ago

NTFSvolume commented 1 month ago

Currently, check_free_space runs on the parent of OUTPUT_FOLDER and not the folder itself. If the parent is on a different file system (ex, OUTPUT_FOLDER is a mount from another drive), the returned value is incorrect.

https://github.com/jbsparrow/CyberDropDownloader/blob/34f0556a22c7bb0244476b345079f78c02984e35/cyberdrop_dl/managers/download_manager.py#L74

Setup Information

Attachments

downloader.log