From bb352f91150b1cdb2c196f4219325a1ea0d877bb Mon Sep 17 00:00:00 2001 From: Viktor Stanchev Date: Sun, 23 Oct 2016 13:32:37 -0700 Subject: [PATCH] fix saving magents and torrents to a file --- pirate/pirate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pirate/pirate.py b/pirate/pirate.py index 5f8ed01..0cab067 100755 --- a/pirate/pirate.py +++ b/pirate/pirate.py @@ -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: