mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-09 09:59:51 +01:00
fix saving magents and torrents to a file
This commit is contained in:
parent
5db2e2c0af
commit
bb352f9115
@ -395,12 +395,12 @@ def pirate_main(args):
|
||||
|
||||
if args.output == 'save_magnet_files':
|
||||
printer.print('Saving selected magnets...')
|
||||
pirate.torrent.save_magnets(choices, results, args.save_directory)
|
||||
pirate.torrent.save_magnets(printer, choices, results, args.save_directory)
|
||||
return
|
||||
|
||||
if args.output == 'save_torrent_files':
|
||||
printer.print('Saving selected torrents...')
|
||||
pirate.torrent.save_torrents(choices, results, args.save_directory)
|
||||
pirate.torrent.save_torrents(printer, choices, results, args.save_directory)
|
||||
return
|
||||
|
||||
for choice in choices:
|
||||
|
Loading…
Reference in New Issue
Block a user