From ea00c946484ea3d59a22ecad05a8c6d807d52013 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 26 Jul 2011 10:10:05 +0000 Subject: [PATCH] Minor bug fix --- sqlmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlmap.py b/sqlmap.py index 4a212bcf6..8926b3ead 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -130,7 +130,7 @@ def main(): kb.threadException = True # Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program - if conf.threads > 1: + if hasattr(conf, "threads") and conf.threads > 1: os._exit(0) if __name__ == "__main__":