summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-08-05 13:59:31 -0300
committerTomás Touceda <chiiph@leap.se>2014-08-05 13:59:31 -0300
commit4d08978c2d45099cd47496a883b954f2ad0aa7bb (patch)
tree0419094783e7ee1619293f9cccefc4fb3f20b8ee
parentf46163c9be65cb4ab202c5c992c5cd16bed98475 (diff)
Properly retrieve launcher delay
-rw-r--r--src/launcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launcher.py b/src/launcher.py
index e833fc5..a47d697 100644
--- a/src/launcher.py
+++ b/src/launcher.py
@@ -28,7 +28,7 @@ class TUF(threading.Thread):
"""
if config.has_section(GENERAL_SECTION) and \
config.has_option(GENERAL_SECTION, DELAY_KEY):
- self.delay = config.getboolean(GENERAL_SECTION, DELAY_KEY)
+ self.delay = config.getint(GENERAL_SECTION, DELAY_KEY)
else:
self.delay = 60