From c3bf63bc189bd1cd1eb402400d41fbaf6263214e Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 26 Dec 2016 21:25:28 -0500 Subject: [PATCH] [fix] remove reference to ftfy in the formatter --- scripts/geodata/address_formatting/formatter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/geodata/address_formatting/formatter.py b/scripts/geodata/address_formatting/formatter.py index 71de8420..860a5954 100644 --- a/scripts/geodata/address_formatting/formatter.py +++ b/scripts/geodata/address_formatting/formatter.py @@ -806,7 +806,6 @@ class AddressFormatter(object): return self.get_template_from_config(self.templates_place_only, country, language=language) def tagged_tokens(self, name, label): - name = ftfy.fix_encoding(name) return six.u(' ').join([six.u('{}/{}').format(t.replace(' ', ''), label if t not in (',', '-') else self.separator_tag) for t, c in tokenize(name)]) def template_language_matters(self, country, language):