Skip to content

Commit e0bb84b

Browse files
authored
Update worker.py
1 parent 293be58 commit e0bb84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ async def encod(event):
194194
if not event.media:
195195
return
196196
try:
197-
if "video" not in event.media.document.mime_type.split("/"):
197+
if ("video" or "application/octet-stream") not in event.media.document.mime_type:
198198
return
199199
except BaseException:
200200
return

0 commit comments

Comments
 (0)