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)