[tor-commits] [pyonionoo/master] fix bug in thread invocation
karsten at torproject.org
karsten at torproject.org
Thu Sep 27 14:52:25 UTC 2012
commit 02060e98dd1e72f3ae24ee1f2a1fb574140a0da5
Author: Sathyanarayanan Gunasekaran <gsathya.ceg at gmail.com>
Date: Thu Sep 27 13:47:02 2012 +0530
fix bug in thread invocation
---
pyonionoo/database.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyonionoo/database.py b/pyonionoo/database.py
index ab02845..53d2dcb 100644
--- a/pyonionoo/database.py
+++ b/pyonionoo/database.py
@@ -175,7 +175,7 @@ def update_databases(summary_file=None):
logging.info("Table updated")
DB_CREATION_TIME = time.time()
- FRESHEN_TIMER = threading.Timer(DB_UPDATE_INTERVAL, update_databases, summary_file)
+ FRESHEN_TIMER = threading.Timer(DB_UPDATE_INTERVAL, update_databases, [summary_file])
FRESHEN_TIMER.start()
def cancel_freshen():
More information about the tor-commits
mailing list