Minor refactoring

This commit is contained in:
Miroslav Stampar
2016-01-07 21:58:10 +01:00
parent c5d3198101
commit b43c1747e0
41 changed files with 44 additions and 44 deletions

View File

@@ -8,8 +8,8 @@ See the file 'doc/COPYING' for copying permission
__product__ = "Proventia Web Application Security (IBM)"
def detect(get_page):
page, headers, code = get_page()
page, _, _ = get_page()
if page is None:
return False
page, headers, code = get_page(url="/Admin_Files/")
page, _, _ = get_page(url="/Admin_Files/")
return page is None