Skip to content

Commit

Permalink
[build] Version logging error fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 23, 2023
1 parent 7355f33 commit 74e4b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,12 @@ def __init__(
self.type = "sonarr"
version_info = self.client.get_update()
self.version = version_parser.parse(version_info[0].get("version"))
self.logger.debug("%s version: %s", self.version._version)
self.logger.debug("%s version: %s", self.version.__str__)
elif isinstance(self.client, RadarrAPI):
self.type = "radarr"
version_info = self.client.get_update()
self.version = version_parser.parse(version_info[0].get("version"))
self.logger.debug("%s version: %s", self.version._version)
self.logger.debug("%s version: %s", self.version.__str__)

if self.rss_sync_timer > 0:
self.rss_sync_timer_last_checked = datetime(1970, 1, 1)
Expand Down

0 comments on commit 74e4b9d

Please sign in to comment.