Skip to content

Commit

Permalink
Missed a log change and updated log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jul 1, 2024
1 parent 42bacb1 commit 04fda83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -5103,7 +5103,7 @@ def _process_single_torrent(self, torrent):
free_space_test = self.current_free_space
free_space_test -= torrent["amount_left"]
self.logger.trace(
"Result[%s]: Free space %s -> %s",
"Result [%s]: Free space %s -> %s",
torrent.name,
self.current_free_space,
free_space_test,
Expand All @@ -5112,7 +5112,7 @@ def _process_single_torrent(self, torrent):
torrent.state_enum != TorrentStates.PAUSED_DOWNLOAD
and self.current_free_space < torrent["amount_left"]
):
self.logger.trace(
self.logger.info(
"Pause download [%s]: Free space %s -> %s",
torrent.name,
self.current_free_space,
Expand All @@ -5126,7 +5126,7 @@ def _process_single_torrent(self, torrent):
and self.current_free_space > torrent["amount_left"]
):
self.current_free_space = free_space_test
self.logger.trace(
self.logger.info(
"Unpause download [%s]: Free space %s -> %s",
torrent.name,
self.current_free_space,
Expand All @@ -5135,15 +5135,15 @@ def _process_single_torrent(self, torrent):
torrent.remove_tags(tags=["qBitrr-free_space_paused"])
elif torrent.state_enum != TorrentStates.PAUSED_DOWNLOAD and free_space_test > 0:
self.current_free_space = free_space_test
self.logger.trace(
self.logger.info(
"Continue downloading [%s]: Free space %s -> %s",
torrent.name,
self.current_free_space,
free_space_test,
)
torrent.remove_tags(tags=["qBitrr-free_space_paused"])
elif not self.is_downloading_state(torrent) and "qBitrr-free_space_paused" in torrent.tags:
self.logger.trace(
self.logger.info(
"Removing tag [%s] for completed torrent[%s]: Free space %s",
"qBitrr-free_space_paused",
torrent.name,
Expand Down

0 comments on commit 04fda83

Please sign in to comment.