]> git.parisson.com Git - deefuzzer.git/commitdiff
Improper conversion type when reading maxretry parameter
authorachbed <github@achbed.org>
Thu, 29 Jan 2015 18:57:11 +0000 (12:57 -0600)
committerachbed <github@achbed.org>
Thu, 29 Jan 2015 18:57:11 +0000 (12:57 -0600)
Signed-off-by: achbed <github@achbed.org>
deefuzzer/core.py

index ad848344648a27da2120673da53ed21e5433f53a..2a6d446fd27cfa41773aab6b31ee65b4ccda6f84 100644 (file)
@@ -89,7 +89,7 @@ class DeeFuzzer(Thread):
 
             elif key == 'maxretry':
                 # Maximum number of attempts to restart the stations on crash.
-                self.maxretry = bool(self.conf['deefuzzer'][key])
+                self.maxretry = int(self.conf['deefuzzer'][key])
 
             elif key == 'station':
                 # Load station definitions from the main config file