diff options
| author | Tomaz Solc <tomaz.solc@tablix.org> | 2019-01-19 11:32:31 +0100 |
|---|---|---|
| committer | Tomaz Solc <tomaz.solc@tablix.org> | 2019-01-19 11:32:31 +0100 |
| commit | b82f0d43be712e550e911d3e63cf45152fbf52cc (patch) | |
| tree | ad25c4aeb1e9bee541a0c8dff7c5d00b2674f5a4 /unidecode | |
| parent | d31c81503a112e3e0161ae55ba6a33a149cfc892 (diff) | |
| parent | 887891a6e17ceb7f3c4c1cd129b41c1d58f1019a (diff) | |
| download | unidecode-b82f0d43be712e550e911d3e63cf45152fbf52cc.tar.gz | |
Merge remote-tracking branch 'jdufresne/b-literal'
Diffstat (limited to 'unidecode')
| -rw-r--r-- | unidecode/util.py | 2 |
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() |
