mirror of
https://github.com/taroved/pol
synced 2025-05-18 23:30:14 -07:00
encoding problem
This commit is contained in:
parent
54b840f72e
commit
019c56bb82
@ -165,10 +165,10 @@ class Feed(object):
|
|||||||
feed['id'] = feed_id
|
feed['id'] = feed_id
|
||||||
feed['name'] = row['feed_name']
|
feed['name'] = row['feed_name']
|
||||||
feed['uri'] = row['uri']
|
feed['uri'] = row['uri']
|
||||||
feed['xpath'] = row['feed_xpath']
|
feed['xpath'] = row['feed_xpath'].decode('utf-8')
|
||||||
feed['fields'] = {}
|
feed['fields'] = {}
|
||||||
feed['required'] = {}
|
feed['required'] = {}
|
||||||
feed['fields'][row['name']] = row['xpath']
|
feed['fields'][row['name']] = row['xpath'].decode('utf-8')
|
||||||
feed['required'][row['name']] = row['required']
|
feed['required'][row['name']] = row['required']
|
||||||
|
|
||||||
if feed:
|
if feed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user