mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-09 09:59:51 +01:00
Merge pull request #96 from vikstrous/fix-95
fix saving magents and torrents to a file
This commit is contained in:
commit
780f8de334
@ -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