include unsent posts in dump
This commit is contained in:
@@ -236,7 +236,7 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig):
|
|||||||
update.effective_message.reply_text('GTFO')
|
update.effective_message.reply_text('GTFO')
|
||||||
return
|
return
|
||||||
update.effective_message.reply_document(
|
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',
|
filename='dump.json',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user