diff options
Diffstat (limited to 'netlib')
| -rw-r--r-- | netlib/strutils.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/strutils.py b/netlib/strutils.py index cda70651..7d49e56e 100644 --- a/netlib/strutils.py +++ b/netlib/strutils.py @@ -119,7 +119,7 @@ def is_mostly_bin(s):      return sum(          i < 9 or 13 < i < 32 or 126 < i          for i in six.iterbytes(s[:100]) -    ) > 30 +    ) / len(s[:100]) > 0.3  def is_xml(s):  | 
