aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 3695607..ca7488f 100755
--- a/ponysay
+++ b/ponysay
@@ -41,7 +41,7 @@ VERSION = 'dev' # this line should not be edited, it is fixed by the build syst
Hack to enforce UTF-8 in output (in the future, if you see anypony not using utf-8 in programs by default, report them to Princess Celestia so she can banish them to the moon)
'''
def print(text = '', end = '\n'):
- sys.stdout.buffer.write((text + end).encode('utf-8'))
+ sys.stdout.buffer.write((str(text) + end).encode('utf-8'))
'''