Skip to content

Commit

Permalink
Test size parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed May 13, 2024
1 parent 68d61db commit 7d12820
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4936,6 +4936,10 @@ def process_torrents(self):
self.current_free_space = shutil.disk_usage(
self.completed_folder
).free - parse_size(self.min_free_space)
self.logger.trace(
"Current free space (pre parse): %s",
shutil.disk_usage(self.completed_folder).free,
)
self.logger.trace("Current free space: %s", self.current_free_space)
sorted_torrents = sorted(torrents, key=lambda t: t["priority"])
for torrent in sorted_torrents:
Expand Down

0 comments on commit 7d12820

Please sign in to comment.