Skip to content

Commit

Permalink
Update ENSCardMakerWeb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jaherron authored Jul 25, 2024
1 parent 03a1877 commit f5fd5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ENSCardMakerWeb.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def generate_card(user):

profilerequest = requests.get(f"http://enstate.rs/u/{user}")
if profilerequest.status_code != 200:
return f"Error: Request failed with status code {profilerequest.status_code}", 500
return f"Error: Request failed with status code {profilerequest.status_code}", profilerequest.status_code

profilejson = profilerequest.content.decode("utf-8")
profile = json.loads(profilejson)
Expand Down

0 comments on commit f5fd5a9

Please sign in to comment.