From 81ce27bdb3030755ca1ff12ba8d4169715b68fcd Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:34:33 +0200 Subject: [PATCH] fix --- archivers/telethon_archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivers/telethon_archiver.py b/archivers/telethon_archiver.py index ad1fadb..6407f09 100644 --- a/archivers/telethon_archiver.py +++ b/archivers/telethon_archiver.py @@ -28,7 +28,7 @@ class TelethonArchiver(Archiver): of `max_amp` both ways Returns a list of [post] where each post has media and is in the same grouped_id """ - if getattr_or(original_post, "grouped_id") is not None: + if getattr_or(original_post, "grouped_id") is None: return [original_post] if getattr_or(original_post, "media") is not None else [] search_ids = [i for i in range(original_post.id - max_amp, original_post.id + max_amp + 1)]