Skip to content

Commit

Permalink
update function
Browse files Browse the repository at this point in the history
  • Loading branch information
log2 committed Aug 5, 2024
1 parent 02a1b49 commit c38375b
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 @@ -40,7 +40,7 @@ def try_download_and_upload_img(path, name, url):
return "1"
if "502" in response.text:
return "0"
return response.text
return response.status_code, response.text
except:
return "t"

Expand Down

0 comments on commit c38375b

Please sign in to comment.