Skip to content

Commit

Permalink
Merge pull request #21 from GSA/json-serialization-fix
Browse files Browse the repository at this point in the history
fix for py3 also works for py2;
  • Loading branch information
nickumia-reisys committed Sep 30, 2021
2 parents 7e14f92 + fd5a6b7 commit 99538a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/harvest/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def harvest_source_extra_fields():
for harvester in p.PluginImplementations(IHarvester):
if not hasattr(harvester, 'extra_schema'):
continue
fields[harvester.info()['name']] = harvester.extra_schema().keys()
fields[harvester.info()['name']] = list(harvester.extra_schema().keys())
return fields


Expand Down

0 comments on commit 99538a4

Please sign in to comment.