Skip to content

Commit

Permalink
fix AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
e-tornike authored Mar 27, 2023
1 parent 61bfa47 commit f7f2a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def main():
repo_url = r.get("official", {}).get("url", "")
if repo_url:
paper['repo_url'] = repo_url
except urllib.error.AttributeError:
except AttributeError:
print(f'Response does not contain the requested attribute. Response: {r}')
except urllib.error.HTTPError:
print(f'URL not found: {PWC_URL + paper_number}')
Expand Down

0 comments on commit f7f2a94

Please sign in to comment.