changeset 0fff7fd69034 in modules/currency:default
details: https://hg.tryton.org/modules/currency?cmd=changeset;node=0fff7fd69034
description:
        Update data with pycountry-18.12.8
diffstat:

 scripts/currencies.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 87ff92193cec -r 0fff7fd69034 scripts/currencies.py
--- a/scripts/currencies.py     Fri Apr 12 15:59:24 2019 +0200
+++ b/scripts/currencies.py     Sun Apr 14 17:53:49 2019 +0200
@@ -151,7 +151,7 @@
         </record>\n''' % (currency.alpha_3.lower(), currency.name,
                 currency.alpha_3, currency.numeric,
                 symbols.get(currency.alpha_3, currency.alpha_3), extend)
-    sys.stdout.write(record.encode('utf-8'))
+    sys.stdout.write(record)
 
 sys.stdout.write('    </data>\n')
 sys.stdout.write('</tryton>\n')

Reply via email to