Skip to content

Commit

Permalink
Auto-format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 6, 2025
1 parent da078cb commit a9c921b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bot/helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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}")
Expand All @@ -1381,4 +1381,4 @@ async def proceed_metadata(self, dl_path, gid):
self.suproc = None
if checked:
cpu_eater_lock.release()
return dl_path
return dl_path

0 comments on commit a9c921b

Please sign in to comment.