Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 942d9e4

Browse files
committed
code cleanup
1 parent a1c943f commit 942d9e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/comparison.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def checkNegativeLogic(condition):
5656

5757
if page:
5858
# In case of an DBMS error page return None
59-
if not kb.negativeLogic and kb.errorIsNone and (wasLastRequestDBMSError() or wasLastRequestHTTPError()):
59+
if checkNegativeLogic(kb.errorIsNone and (wasLastRequestDBMSError() or wasLastRequestHTTPError())):
6060
return None
6161

6262
# Dynamic content lines to be excluded before comparison

0 commit comments

Comments
 (0)