diff --git a/ckanext/opendatani/plugin.py b/ckanext/opendatani/plugin.py index 4fdd8f8..95efb66 100644 --- a/ckanext/opendatani/plugin.py +++ b/ckanext/opendatani/plugin.py @@ -197,7 +197,7 @@ def report_resources_by_organization(context, data_dict): # We need this in the case that there are more # rows than the API hard limit of 1000 def check_rows(results, data_dict, rows): - for i in range(rows / 1000): + for i in range(rows // 1000): data_dict['start'] += 1000 results['results'] += \ toolkit.get_action('package_search')({}, data_dict)['results']