Skip to content

Commit

Permalink
fix: Fix process_items if releases is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 19, 2023
1 parent 22ebbed commit 8d9ee6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spoonbill/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def process_items(self, releases, with_preview=True):
:param releases: The releases to analyze
:param with_preview: Whether to generate previews for each table
"""
count = 0
for count, release in enumerate(releases):
to_analyze = deque([("", "", "", {}, release)])
rows = Rows(ocid=release["ocid"], buyer=release.get("buyer", {}), data=defaultdict(list))
Expand Down

0 comments on commit 8d9ee6d

Please sign in to comment.