From 74e4b9d9f57279b8d4674b3aedd3b8d123dce4e6 Mon Sep 17 00:00:00 2001 From: Feramance Date: Mon, 23 Oct 2023 11:53:56 +0200 Subject: [PATCH] [build] Version logging error fix 2 --- qBitrr/arss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 46d8a6bc..0a7ff3ee 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._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)