Fix '--no-playlist-folder' (#280)
Fixed issue of downloading to wrong directory with '--no-playlist-folder'.master
parent
e2aa9a2ce9
commit
1e9ef0b048
|
@ -386,7 +386,8 @@ def download_playlist(playlist):
|
|||
logger.info('Track n°{0}'.format(counter))
|
||||
download_track(track_raw, playlist['title'], playlist_file)
|
||||
finally:
|
||||
os.chdir('..')
|
||||
if not arguments['--no-playlist-folder']:
|
||||
os.chdir('..')
|
||||
|
||||
|
||||
def download_my_stream():
|
||||
|
|
Loading…
Reference in New Issue