Skip to content

Commit

Permalink
[build] Version logging error fix 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 23, 2023
1 parent 2877cfe commit d3f3dda
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._name, self.version._version)
self.logger.debug("%s version: %s", self._name, self.version.release)
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._name, self.version._version)
self.logger.debug("%s version: %s", self._name, self.version.release)

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

0 comments on commit d3f3dda

Please sign in to comment.