aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfhost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fhost.py b/fhost.py
index 1842637..5e35104 100755
--- a/fhost.py
+++ b/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:
bgstack15