From d5be273cb5177837e2ec438ceadf271a6ae4e848 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Fri, 18 Feb 2011 09:23:24 +0100 Subject: [PATCH] Bug correction --- plugins/other/transmission | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/other/transmission b/plugins/other/transmission index abc48370..c46b1613 100755 --- a/plugins/other/transmission +++ b/plugins/other/transmission @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.6 # -*- encoding: iso-8859-1 -*- """ : << =cut @@ -197,8 +197,8 @@ if __name__ == '__main__': config() elif sys.argv[1]=="autoconf" : autoconf() - else: + elif sys.argv[1]!="": raise ValueError, "unknown parameter '%s'" % sys.argv[1] - else: - fetch() - sys.exit(0) \ No newline at end of file + +fetch() +sys.exit(0)