Remove unnecessary extra quotes (see #381 on CKAN core)

This commit is contained in:
amercader 2013-02-19 11:51:22 +00:00
parent 3c50a40a76
commit be844cf21d
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Harvest(p.SingletonPlugin, DefaultDatasetForm):
data_dict['extras'] = [] data_dict['extras'] = []
data_dict['extras'].append({ 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: if 'type' in data_dict and data_dict['type'] == DATASET_TYPE_NAME: