err msg fix

This commit is contained in:
Roman Hergenreder 2023-10-04 12:25:20 +02:00
parent 8a10184379
commit 467d3cf9ca

@ -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):