mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
Fix crash in Zenmap DiffViewer
http://seclists.org/nmap-dev/2014/q2/185
This commit is contained in:
@@ -298,7 +298,7 @@ class ScanChooser(HIGVBox):
|
|||||||
def get_nmap_output(self):
|
def get_nmap_output(self):
|
||||||
"""Return the currently selected scan's output as a string, or None if
|
"""Return the currently selected scan's output as a string, or None if
|
||||||
no valid scan is selected."""
|
no valid scan is selected."""
|
||||||
return self.parsed_scan
|
return self.parsed_scan.get_nmap_output()
|
||||||
|
|
||||||
nmap_output = property(get_nmap_output)
|
nmap_output = property(get_nmap_output)
|
||||||
parsed_scan = property(get_parsed_scan)
|
parsed_scan = property(get_parsed_scan)
|
||||||
|
|||||||
Reference in New Issue
Block a user