Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
1Danish-00 authored Apr 20, 2021
1 parent e0bb84b commit b02dd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ async def encod(event):
if not event.media:
return
try:
if ("video" or "application/octet-stream") not in event.media.document.mime_type:
if not event.media.document.mime_type.startswith(("video","application/octet-stream")):
return
except BaseException:
return
Expand Down

0 comments on commit b02dd45

Please sign in to comment.