diff --git a/ppf.py b/ppf.py index ea7cf60..dbbfecf 100755 --- a/ppf.py +++ b/ppf.py @@ -165,7 +165,10 @@ def proxyleech(sqlite, rows): hash = hashlib.md5(''.join(uniques)).hexdigest() ## empty list of proxies: multiply error by two - if not len(uniques): row[2] = (row[2] * 2) + if not len(uniques): + if row[1]: row[2] = (row[2] * 2) + else: row[2] = 99999 + ## same proxy list: increment error by one elif hash == row[1]: row[2] = (row[2] + 1) ## proxylist was updated: error is zero