diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/sniff | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -30,7 +30,9 @@ def simple_get(url):  def is_good_response(resp):      content_type = resp.headers['Content-Type'].lower() -    return (resp.status_code == 200 and content_type is not None and content_type.find("html") > -1) +    return (resp.status_code == 200 and +            content_type is not None and +            content_type.find("html") > -1)  def log_error(e): | 
