mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-11-22 08:57:11 +01:00
Fix try/except syntax
This commit is contained in:
parent
462555d532
commit
2e509a1faf
1 changed files with 1 additions and 1 deletions
2
fhost.py
2
fhost.py
|
@ -203,7 +203,7 @@ def store_url(url, addr):
|
|||
|
||||
try:
|
||||
r.raise_for_status()
|
||||
except (requests.exceptions.HTTPError, e):
|
||||
except requests.exceptions.HTTPError as e:
|
||||
return str(e) + "\n"
|
||||
|
||||
if "content-length" in r.headers:
|
||||
|
|
Loading…
Reference in a new issue