Remove unnecessary extra quotes (see #381 on CKAN core)
This commit is contained in:
parent
177349fd76
commit
83f8cf69a6
|
@ -50,7 +50,7 @@ class Harvest(p.SingletonPlugin, DefaultDatasetForm):
|
|||
data_dict['extras'] = []
|
||||
|
||||
data_dict['extras'].append({
|
||||
'key': key, 'value': '"{0}"'.format(value), 'state': u'active'
|
||||
'key': key, 'value': value, 'state': u'active'
|
||||
})
|
||||
|
||||
if 'type' in data_dict and data_dict['type'] == DATASET_TYPE_NAME:
|
||||
|
|
Loading…
Reference in New Issue