in client/securedrop_client/gui/conversation/export/export_wizard_page.py [0:0]
def __init__(self, export: Export, summary: str) -> None:
self._should_autoskip_preflight = False
self.summary = summary
header = _(
"Preparing to export:<br />" '<span style="font-weight:normal">{}</span>'
).format(summary)
body = _(
"<h2>Understand the risks before exporting files</h2>"
"<b>Malware</b>"
"<br />"
"This workstation lets you open files securely. If you open files on another "
"computer, any embedded malware may spread to your computer or network. If you are "
"unsure how to manage this risk, please print the file, or contact your "
"administrator."
"<br /><br />"
"<b>Anonymity</b>"
"<br />"
"Files submitted by sources may contain information or hidden metadata that "
"identifies who they are. To protect your sources, please consider redacting files "
"before working with them on network-connected computers."
)
super().__init__(export, header=header, body=body)
self.start_animate_header()
# Don't need preflight check every time, just when the wizard is initialized
if self.status is None:
self.set_complete(False)
self.completeChanged.emit()
self.export.run_export_preflight_checks()