mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Fix automatic filename generation when output is a directory
This commit is contained in:
parent
ee1ba8b16e
commit
5fe5eb40f2
@ -72,7 +72,7 @@ def get_media(url, options):
|
||||
options.output = filenamify(title_tag)
|
||||
else:
|
||||
# output is a directory
|
||||
os.path.join(options.output, filenamify(title_tag))
|
||||
options.output = os.path.join(options.output, filenamify(title_tag))
|
||||
|
||||
try:
|
||||
stream.get(options)
|
||||
|
Loading…
Reference in New Issue
Block a user