From 79d1a32b2040c036a99376d7fe5a3c1e2b4f01fc Mon Sep 17 00:00:00 2001 From: yasirarism <55983182+yasirarism@users.noreply.github.com> Date: Tue, 9 May 2023 22:05:57 +0700 Subject: [PATCH] fix --- misskaty/plugins/webss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/webss.py b/misskaty/plugins/webss.py index f720497b..5827c6e9 100644 --- a/misskaty/plugins/webss.py +++ b/misskaty/plugins/webss.py @@ -33,6 +33,6 @@ async def take_ss(self: Client, ctx: Message, strings): downloader.start(blocking=True) await gather(*[ctx.reply_document(download_file_path), ctx.reply_photo(download_file_path, caption=strings("str_credit"))]) await msg.delete_msg() - await os.remove(download_file_path) + os.remove(download_file_path) except Exception as e: await msg.edit_msg(strings("ss_failed_str").format(err=str(e)))