mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Correct error message
This commit is contained in:
parent
25499cb7ca
commit
c52406aeeb
2
twoot.py
2
twoot.py
|
@ -1001,7 +1001,7 @@ def update_profile(nitter_url, soup, sql, mast_password):
|
|||
new_banner_mime = new_banner.headers['content-type'] if new_banner.status_code == 200 else None
|
||||
if new_banner.status_code != 200:
|
||||
logging.error("Could not download banner image from " + nitter_url + new_banner_url)
|
||||
logging.error("Status code: " + str(new_avatar.status_code))
|
||||
logging.error("Status code: " + str(new_banner.status_code))
|
||||
else:
|
||||
logging.debug("Banner image downloaded")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user