From 78eda26515ad471cc36195318090451ba27ce56b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 23 Oct 2012 23:42:28 +0200 Subject: include quote file in the extra information + change log update + manual update --- ponysay.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ponysay.py') diff --git a/ponysay.py b/ponysay.py index aad4b83..06723c8 100755 --- a/ponysay.py +++ b/ponysay.py @@ -887,6 +887,7 @@ class Ponysay(): ## Select a random pony–quote-pair, load it and print it if not len(pairs) == 0: pair = pairs[random.randrange(0, len(pairs))] + printinfo('quote file: ' + pair[1]) with open(pair[1], 'rb') as qfile: args.message = qfile.read().decode('utf8', 'replace').strip() args.opts['-f'] = [pair[0]] -- cgit