minor fix

This commit is contained in:
Miroslav Stampar 2011-11-23 00:04:14 +00:00
parent d8047c79f3
commit 6bfb7c2137

View File

@ -129,7 +129,7 @@ def main():
kb.threadContinue = False
kb.threadException = True
if conf.hashDB:
if conf.get('hashDB', None):
conf.hashDB.flush(True)
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program