aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-23 23:42:28 +0200
committerMattias Andrée <maandree@operamail.com>2012-10-23 23:42:28 +0200
commit78eda26515ad471cc36195318090451ba27ce56b (patch)
tree24040046c86958b1ceecc06c56e898d8b61d3a8b /ponysay.py
parent42b9744572d5621617f971f842867fdd19400091 (diff)
downloadponysay-78eda26515ad471cc36195318090451ba27ce56b.tar.gz
ponysay-78eda26515ad471cc36195318090451ba27ce56b.tar.bz2
ponysay-78eda26515ad471cc36195318090451ba27ce56b.zip
include quote file in the extra information + change log update + manual update
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py1
1 files changed, 1 insertions, 0 deletions
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]]