Skip to content

Commit

Permalink
Fix media convert
Browse files Browse the repository at this point in the history
  • Loading branch information
anasty17 authored Jan 21, 2024
1 parent d5fb091 commit fa65d1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bot/helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,9 @@ async def convertMedia(self, up_dir, size, gid):
else:
vstatus = ""
fvext.extend(f".{ext}" for ext in vdata[2:])
else:
vstatus = ""
else:
vdata = ""
vext = ""
vstatus = ""

Expand All @@ -665,8 +666,9 @@ async def convertMedia(self, up_dir, size, gid):
else:
astatus = ""
faext.extend(f".{ext}" for ext in adata[2:])
else:
astatus = ""
else:
adata = ""
aext = ""
astatus = ""

Expand Down

0 comments on commit fa65d1f

Please sign in to comment.