err msg fix
This commit is contained in:
parent
8a10184379
commit
467d3cf9ca
2
util.py
2
util.py
@ -87,7 +87,7 @@ def assert_empty(res, err=None):
|
|||||||
if not res.content or len(res.content) == 0:
|
if not res.content or len(res.content) == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
err = f"[-] '{res.url}' did not return unexpected data" if err is None else err
|
err = f"[-] '{res.url}' returned unexpected data" if err is None else err
|
||||||
exit_with_error(res, err)
|
exit_with_error(res, err)
|
||||||
|
|
||||||
def assert_not_empty(res, err=None):
|
def assert_not_empty(res, err=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user