1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 21:21:31 +00:00

Fix Python syntax for dict literals

This commit is contained in:
dmiller
2025-05-29 18:06:32 +00:00
parent b35a88ac60
commit 340947fa29
6 changed files with 21 additions and 19 deletions

View File

@@ -686,8 +686,8 @@ class ScanInterface(HIGVBox):
self.filter_bar.set_information_text(
_("%(num_shown)d/%(total)d hosts shown") % {
num_shown = len(self.inventory.get_hosts_up()),
total = len(NetworkInventory.get_hosts_up(self.inventory))
'num_shown': len(self.inventory.get_hosts_up()),
'total': len(NetworkInventory.get_hosts_up(self.inventory))
})
mode = self.scan_result.scan_host_view.mode