Skip to content

Commit

Permalink
Details=True
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself committed Nov 13, 2020
1 parent c1c7eae commit bf57aaa
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gvm/protocols/gmpv7/gmpv7.py
Original file line number Diff line number Diff line change
Expand Up @@ -3733,7 +3733,7 @@ def get_report(
delta_report_id: Optional[str] = None,
report_format_id: Optional[Union[str, ReportFormatType]] = None,
ignore_pagination: Optional[bool] = None,
details: Optional[bool] = None
details: Optional[bool] = True
) -> Any:
"""Request a single report
Expand Down Expand Up @@ -3775,10 +3775,7 @@ def get_report(
if ignore_pagination is not None:
cmd.set_attribute("ignore_pagination", _to_bool(ignore_pagination))

if details is False:
cmd.set_attribute("details", _to_bool(details))
else:
cmd.set_attribute("details", _to_bool(True))
cmd.set_attribute("details", _to_bool(details))

return self._send_xml_command(cmd)

Expand Down

0 comments on commit bf57aaa

Please sign in to comment.