v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-18 15:20:09 -07:00

encoding problem

This commit is contained in:
Al Ne 2019-02-04 22:55:04 +03:00
parent 54b840f72e
commit 019c56bb82

View File

@ -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: