diff --git a/bot/helper/common.py b/bot/helper/common.py index a5ea8e279ca..7a6f300c7ec 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -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 = "" @@ -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 = ""