From 151d44b22d5903c1c2afa2c078655bf3a7a5128b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Thu, 4 Apr 2013 17:52:29 +0200 Subject: [PATCH] fix -b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ponysay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ponysay.py b/src/ponysay.py index b40fff9e..6f25fbcb 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -917,7 +917,7 @@ class Ponysay(): messagewrap = int(args.opts['-W'][0]) ## Get balloon object - balloonfile = self.__getballoonpath(args.opts['-b'][0] if args.opts['-b'] is not None else None) + balloonfile = self.__getballoonpath(args.opts['-b'] if args.opts['-b'] is not None else None) printinfo('balloon style file: ' + str(balloonfile)) balloon = self.__getballoon(balloonfile) if args.opts['-o'] is None else None