From 1992e5bc5c3ea5ebe9ef3a7a38d9810bfc53940d Mon Sep 17 00:00:00 2001 From: j Date: Thu, 3 Aug 2017 15:28:35 +0200 Subject: [PATCH] don't call fix_asian_name for now --- oxdata/movie/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index d6c928c..36e0b1d 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -35,13 +35,13 @@ def quote_string(string): return quote(string).replace('_', '%09').replace('%20', '_') def fix_names(m): - name = fix_asian_name(m.group(2)) + #name = fix_asian_name(m.group(2)) + name = m.group(2) return '%s' % (quote_string(name.encode('utf-8')), name) def fix_titles(m): - return '%s' % ( - quote_string(m.group(2).encode('utf-8')), m.group(2) - ) + title = m.group(2) + return '%s' % (quote_string(title.encode('utf-8')), title) def fix_links(t): t = re.sub('(.*?)', fix_names, t)