mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Updated some code in zenmap/zenmapGUI/DiffCompare.py and zenmap/zenmapGUI/ScanNmapOutputPage.py to work properly with the code from r32983
This commit is contained in:
parent
5e948636cd
commit
2274fa2461
2 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ class ScanChooser(HIGVBox):
|
|||
|
||||
def show_scan(self, widget):
|
||||
nmap_output = self.get_nmap_output()
|
||||
if nmap_output is not None:
|
||||
if nmap_output != "":
|
||||
self.txt_scan_result.get_buffer().set_text(nmap_output)
|
||||
|
||||
def normalize_output(self, output):
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ class ScanNmapOutputPage(HIGVBox):
|
|||
if entry.parsed is not None:
|
||||
self.nmap_output.set_command_execution(None)
|
||||
nmap_output = entry.parsed.get_nmap_output()
|
||||
if nmap_output is not None:
|
||||
if nmap_output != "":
|
||||
self.nmap_output.show_nmap_output(nmap_output)
|
||||
self.details_button.set_sensitive(True)
|
||||
elif entry.command is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue