mirror of
https://github.com/taroved/pol
synced 2025-05-18 15:20:09 -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['name'] = row['feed_name']
|
||||
feed['uri'] = row['uri']
|
||||
feed['xpath'] = row['feed_xpath']
|
||||
feed['xpath'] = row['feed_xpath'].decode('utf-8')
|
||||
feed['fields'] = {}
|
||||
feed['required'] = {}
|
||||
feed['fields'][row['name']] = row['xpath']
|
||||
feed['fields'][row['name']] = row['xpath'].decode('utf-8')
|
||||
feed['required'][row['name']] = row['required']
|
||||
|
||||
if feed:
|
||||
|
Loading…
x
Reference in New Issue
Block a user