Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell authored Aug 14, 2024
1 parent 249c16c commit acefb28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ames/harvesters/caltechauthors.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_request_id_title(token, request):
}
response = requests.get(url, headers=headers)
if response.status_code != 200:
print(f"Error getting comments for request {p}")
print(f"Error getting comments for request {request}")
response = response.json()
date = response["updated"].split("T")[0]
return response["topic"]["record"], response["title"], date
Expand All @@ -54,7 +54,7 @@ def get_request_comments(token, request):
}
response = requests.get(url, headers=headers)
if response.status_code != 200:
print(f"Error getting comments for request {p}")
print(f"Error getting comments for request {request}")
comments = response.json()["hits"]["hits"]
cleaned = []
for c in comments:
Expand Down

0 comments on commit acefb28

Please sign in to comment.