diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2017-03-27 22:18:38 +0200 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2017-03-27 22:18:38 +0200 |
commit | 2e509a1faf3f005da1291b3a31c79ed568f9370f (patch) | |
tree | 7c3d8b15b0f46e30f36a1c4485a304cdf82100da /fhost.py | |
parent | 462555d5326073c4352eb35b2411ee568333e325 (diff) |
Fix try/except syntax
Diffstat (limited to 'fhost.py')
-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: |