From 5c3cc6eb0bcaea3e4a760d843b95d76066950740 Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Wed, 25 Mar 2015 00:11:37 +0100 Subject: [PATCH] Remove unused parameters --- pirate-get.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pirate-get.py b/pirate-get.py index a3ac9bb..0b3319f 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -385,7 +385,7 @@ def print_file_lists(chosen_links, mags, site, identifiers): cur_color = 'zebra_0' if (cur_color == 'zebra_1') else 'zebra_1' -def save_torrents(chosen_links, mags, site, identifiers, folder): +def save_torrents(chosen_links, mags, folder): for link in chosen_links: magnet = mags[int(link)][0] name = re.search(r'dn=([^\&]*)', magnet) @@ -567,7 +567,7 @@ def main(): print_search_results(mags, sizes, uploaded) elif code == 's': downloads = config.get('SaveToFile', 'directory') - save_torrents(choices, mags, site, identifiers, downloads) + save_torrents(choices, mags, downloads) elif not l: print('No links entered!', color='WARN') else: