From a9c921b212d24d24c19a718850689e40035486fe Mon Sep 17 00:00:00 2001 From: 5hojib Date: Mon, 6 Jan 2025 04:44:27 +0000 Subject: [PATCH] Auto-format code [skip actions] --- bot/helper/common.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bot/helper/common.py b/bot/helper/common.py index b24067a3e..3c27a12ea 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -1339,7 +1339,7 @@ async def proceed_metadata(self, dl_path, gid): key = self.metadata checked = False if self.is_file: - if is_mkv(dl_path): + if is_mkv(dl_path): cmd, temp_file = await get_metadata_cmd(dl_path, key) if cmd: if not checked: @@ -1369,9 +1369,9 @@ async def proceed_metadata(self, dl_path, gid): checked = True async with task_dict_lock: task_dict[self.mid] = FFmpegStatus( - self, - gid, - "Metadata", + self, + gid, + "Metadata", ) await cpu_eater_lock.acquire() LOGGER.info(f"Running metadata cmd for: {file_path}") @@ -1381,4 +1381,4 @@ async def proceed_metadata(self, dl_path, gid): self.suproc = None if checked: cpu_eater_lock.release() - return dl_path \ No newline at end of file + return dl_path