Skip to content

Commit

Permalink
standardizes ranges between index and sitemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
btylerburton committed Sep 14, 2023
1 parent 45079ff commit 1ea401f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/geodatagov/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def sitemap_to_s3(upload_to_s3: bool, page_size: int, max_per_page: int):
{S3_ENDPOINT_URL}/{BUCKET_NAME}/{sitemap_index.filename_s3}"
)

for file_num in range(1, num_of_pages + 1):
for file_num in range(num_of_pages):
sitemap = SitemapData(str(file_num), start, page_size)
sitemap.write_sitemap_header()
sitemap.write_pkgs(package_query)
Expand Down

0 comments on commit 1ea401f

Please sign in to comment.