diff options
-rwxr-xr-x | fhost.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |