one more fix

This commit is contained in:
Miroslav Stampar 2010-12-24 18:44:13 +00:00
parent edcf1a0872
commit 2d115e0350

View File

@ -65,7 +65,7 @@ def setHandler():
inferencedDbms = (kb.htmlFp[-1] if kb.htmlFp else None) or kb.dbms inferencedDbms = (kb.htmlFp[-1] if kb.htmlFp else None) or kb.dbms
for injection in kb.injections: for injection in kb.injections:
if hasattr(injection, "dbms"): if hasattr(injection, "dbms") and injection.dbms:
inferencedDbms = injection.dbms inferencedDbms = injection.dbms
break break