From 180c4720dec6a4985f18dfdfc3d76202e2595000 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sat, 9 Aug 2025 04:35:19 +0300 Subject: [PATCH] include unsent posts in dump --- bots/modules/channel_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/modules/channel_helper.py b/bots/modules/channel_helper.py index 8a90775..84667b4 100644 --- a/bots/modules/channel_helper.py +++ b/bots/modules/channel_helper.py @@ -236,7 +236,7 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig): update.effective_message.reply_text('GTFO') return update.effective_message.reply_document( - BytesIO(json.dumps(list(qi.__json__() for qi in QueuedItem.objects.filter(config=self, processed=True)), indent=2).encode()), + BytesIO(json.dumps(list(qi.__json__() for qi in QueuedItem.objects.filter(config=self)), indent=2).encode()), filename='dump.json', )