0x0

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 2e509a1faf3f005da1291b3a31c79ed568f9370f
parent 462555d5326073c4352eb35b2411ee568333e325
Author: Martin Herkt <lachs0r@srsfckn.biz>
Date:   Mon, 27 Mar 2017 22:18:38 +0200

Fix try/except syntax

Diffstat:
Mfhost.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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: