summaryrefslogtreecommitdiff
path: root/unidecode/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'unidecode/util.py')
-rw-r--r--unidecode/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unidecode/util.py b/unidecode/util.py
index 6abd4ce..2e14f1a 100644
--- a/unidecode/util.py
+++ b/unidecode/util.py
@@ -43,7 +43,7 @@ def main():
# add a newline to the string if it comes from the
# command line so that the result is printed nicely
# on the console.
- stream += '\n'.encode('ascii')
+ stream += b'\n'
else:
if PY3:
stream = sys.stdin.buffer.read()