From 5e495b713f38c9a7e9dc8e968b5ec1726c1be659 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Fri, 3 Jun 2022 18:23:53 +0200 Subject: [PATCH] minor update --- archivers/telethon_archiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archivers/telethon_archiver.py b/archivers/telethon_archiver.py index 294db09..a64c3fd 100644 --- a/archivers/telethon_archiver.py +++ b/archivers/telethon_archiver.py @@ -54,11 +54,11 @@ class TelethonArchiver(Archiver): try: post = self.client.get_messages(chat, ids=post_id) except ValueError as e: - logger.error(f'Could not fetch telegram {url} possibly it\'s private: {e}') + logger.error(f"Could not fetch telegram {url} possibly it's private: {e}") return False except ChannelInvalidError as e: # TODO: check followup here: https://github.com/LonamiWebs/Telethon/issues/3819 - logger.error(f'Could not fetch telegram {url} possibly it\'s private or not displayable in : {e}') + logger.error(f"Could not fetch telegram {url} possibly it's private or not displayable in : {e}") return False media_posts = self._get_media_posts_in_group(chat, post)