Skip to content

Commit

Permalink
Update django/src/rdwatch/tasks/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mike VanDenburgh <37340715+mvandenburgh@users.noreply.github.com>
  • Loading branch information
BryonLewis and mvandenburgh authored Aug 21, 2023
1 parent 2b84e82 commit 238a16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/src/rdwatch/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def download_annotations(self, id: int):

with tempfile.TemporaryDirectory() as temp_dir:
file_list = []
for item in site_evals:
for item in site_evals.iterator():
data, site_id = get_site_model_feature_JSON(item.pk)
file_name = os.path.join(temp_dir, f'{site_id}.json')
with open(file_name, 'w') as file:
Expand Down

0 comments on commit 238a16d

Please sign in to comment.