summaryrefslogtreecommitdiff
path: root/unidecode
diff options
context:
space:
mode:
authorTomaz Solc <tomaz.solc@tablix.org>2019-01-19 11:32:31 +0100
committerTomaz Solc <tomaz.solc@tablix.org>2019-01-19 11:32:31 +0100
commitb82f0d43be712e550e911d3e63cf45152fbf52cc (patch)
treead25c4aeb1e9bee541a0c8dff7c5d00b2674f5a4 /unidecode
parentd31c81503a112e3e0161ae55ba6a33a149cfc892 (diff)
parent887891a6e17ceb7f3c4c1cd129b41c1d58f1019a (diff)
downloadunidecode-b82f0d43be712e550e911d3e63cf45152fbf52cc.tar.gz
Merge remote-tracking branch 'jdufresne/b-literal'
Diffstat (limited to 'unidecode')
-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()