From 64d9da9156db5aa55e6b266e79d0bf7070d61a65 Mon Sep 17 00:00:00 2001 From: mickael Date: Sun, 6 Jan 2019 02:58:58 +0000 Subject: [PATCH] sleep even when no proxies are added --- ppf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppf.py b/ppf.py index bfdbc8a..10f9977 100755 --- a/ppf.py +++ b/ppf.py @@ -64,7 +64,7 @@ def insert_proxies(proxies, uri, sqlite): sqlite.executemany('INSERT INTO proxylist (added,proxy,failed,tested,success_count,total_duration) VALUES (?,?,?,?,?,?)', new) sqlite.commit() _log('+%d item(s) from %s' % (len(new), uri), 'added') - time.sleep(0.1) + time.sleep(0.1) def proxyfind(sqlite = None): if not sqlite: sqlite = mysqlite.mysqlite(config.database,str)