From ed9fee44c622925b217d02c9b986e66a504cdb5d Mon Sep 17 00:00:00 2001 From: Feramance Date: Fri, 30 Aug 2024 14:56:53 +0200 Subject: [PATCH] more debugs --- qBitrr/arss.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 4d54c489..92553ea4 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -4500,8 +4500,14 @@ def custom_format_unmet_check(self, torrent: qbittorrentapi.TorrentDictionary) - None, ) self.logger.debug("custom_format_unmet_check: [customFormat:%s]", customFormat) - movie = self.model_file.get_or_none(self.model_file.EntryId == entry) - self.logger.debug("custom_format_unmet_check: [movieId:%s]", entry) + movie = ( + self.model_file.select().where(self.model_file.EntryId == entry).execute() + ) + self.logger.debug( + "custom_format_unmet_check: [movieId:%s][movie:%s]", + entry, + dict(movie) if movie else {}, + ) self.logger.debug( "custom_format_unmet_check: [MovieFileId:%s]", movie.MovieFileId )