From 6cc6a8c401bb98e152c898a38583c4eaf48be046 Mon Sep 17 00:00:00 2001 From: Feramance Date: Mon, 23 Oct 2023 12:02:27 +0200 Subject: [PATCH] [build] Version logging error fix 3 --- qBitrr/arss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 0a7ff3ee..1654e0ae 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -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.__str__) + self.logger.debug("%s version: %s", version_info[0].get("version")) 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.__str__) + self.logger.debug("%s version: %s", version_info[0].get("version")) if self.rss_sync_timer > 0: self.rss_sync_timer_last_checked = datetime(1970, 1, 1)