forked from jan/debianmemberportfolio
fix handling of special Unicode characters
This commit is contained in:
parent
c6eda91546
commit
a5efcd36b1
1 changed files with 3 additions and 2 deletions
|
@ -40,8 +40,9 @@ def build_urls(fields):
|
||||||
fields."""
|
fields."""
|
||||||
data = {}
|
data = {}
|
||||||
errors = {}
|
errors = {}
|
||||||
qfields = dict([(key, quote_plus(fields[key])) for key in fields])
|
qfields = dict([(key, quote_plus(fields[key].encode('utf8'))) \
|
||||||
fpr = keyfinder.getFingerprintByEmail(str(fields['email']))
|
for key in fields])
|
||||||
|
fpr = keyfinder.getFingerprintByEmail(fields['email'].encode('utf8'))
|
||||||
if fpr:
|
if fpr:
|
||||||
qfields['gpgfp'] = fpr[0]
|
qfields['gpgfp'] = fpr[0]
|
||||||
for section in my_config.sections():
|
for section in my_config.sections():
|
||||||
|
|
Loading…
Reference in a new issue