Skip to content

Commit

Permalink
fix yt-dlp mirror/leech along wiht cmd
Browse files Browse the repository at this point in the history
Signed-off-by: mltb <[email protected]>
  • Loading branch information
mltb committed Mar 4, 2023
1 parent 39a08e9 commit d2bd1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/modules/ytdlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def _ytdl(client, message, isZip=False, isLeech=False, sameDir={}):

args = mssg.split(maxsplit=3)
args.pop(0)
if len(args) > 1:
if len(args) > 0:
for x in args:
x = x.strip()
if x == 's':
Expand Down

0 comments on commit d2bd1bf

Please sign in to comment.