From c489d7740f455840a9c37c9e22c2b05982243e95 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 25 Jul 2025 14:52:44 +0300 Subject: [PATCH] fix --- bots/modules/channel_helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bots/modules/channel_helper.py b/bots/modules/channel_helper.py index ce8e394..f03f8ce 100644 --- a/bots/modules/channel_helper.py +++ b/bots/modules/channel_helper.py @@ -100,9 +100,9 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig): def rpc_get_hashes(self): config._reload_maybe() - return (self.queued_items.filter(type='photo', processed=False) - .exclude(image_hash__isnull=True) - .values_list('image_hash', flat=True)) + return list(self.queued_items.filter(type='photo', processed=False) + .exclude(image_hash__isnull=True) + .values_list('image_hash', flat=True)) def periodic_task(self, bot: Bot):