From c4035d4ac57ae0ba396123b483ae61d39eb3afd2 Mon Sep 17 00:00:00 2001 From: Ncode2014 <32153003+Ncode2014@users.noreply.github.com> Date: Thu, 23 Sep 2021 18:55:05 +0700 Subject: [PATCH] fix no uploaded message --- bot/modules/mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/mirror.py b/bot/modules/mirror.py index e146765c65c..52a47f98fbe 100644 --- a/bot/modules/mirror.py +++ b/bot/modules/mirror.py @@ -208,7 +208,7 @@ def onUploadComplete(self, link: str, size, files, folders, typ): msg = f'Name: {link}\n' msg += f'Total Files: {count}' sendMessage(msg, self.bot, self.update) - elif count != 1: + else: chat_id = chat_id[4:] msg = f"Name: {link}\n" msg += f'Total Files: {count}\n'