From ecbd264d02733d5f545959e4530595267f504649 Mon Sep 17 00:00:00 2001 From: Viktor Stanchev Date: Sat, 29 Aug 2015 22:20:44 -0700 Subject: [PATCH] copy 3ce8e304c4ecd5b66531a3d5cafa425802b10311 --- pirate/pirate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pirate/pirate.py b/pirate/pirate.py index 77413f8..eb341f3 100755 --- a/pirate/pirate.py +++ b/pirate/pirate.py @@ -293,8 +293,7 @@ def main(): url = mags[int(choice)][0] if args.transmission or config.getboolean('Misc', 'transmission'): - subprocess.call(transmission_command + ['-l', '--add', url]) - subprocess.call(transmission_command + ['-l']) + subprocess.call(transmission_command + ['--add', url]) elif args.command or config.get('Misc', 'openCommand'): command = config.get('Misc', 'openCommand') @@ -305,6 +304,8 @@ def main(): else: webbrowser.open(url) + if args.transmission or config.getboolean('Misc', 'transmission'): + subprocess.call(transmission_command + ['-l']) if __name__ == '__main__': main()