templates and data classes are done
This commit is contained in:
@@ -162,6 +162,7 @@ class ScanConfigRepository:
|
||||
report_name=str(rep_raw.get("report_name", "Scan Report")),
|
||||
report_filename=str(rep_raw.get("report_filename", "report.html")),
|
||||
full_details=bool(rep_raw.get("full_details", False)),
|
||||
dark_mode = bool(rep_raw.get("dark_mode", False)),
|
||||
email_to=self._as_str_list(rep_raw.get("email_to", []), "email_to"),
|
||||
email_cc=self._as_str_list(rep_raw.get("email_cc", []), "email_cc"),
|
||||
)
|
||||
@@ -236,7 +237,6 @@ class ScanConfigRepository:
|
||||
raise TypeError(f"'{field_name}' must be a string or a list of strings.")
|
||||
|
||||
# helpers
|
||||
|
||||
def list_configs(self) -> List[str]:
|
||||
"""
|
||||
Return names of loaded configs for UI selection.
|
||||
|
||||
Reference in New Issue
Block a user