Changeset 1109
- Timestamp:
- 07/25/07 03:10:48 (6 years ago)
- Files:
-
- 1 modified
-
trunk/umitGUI/NmapOutputViewer.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/umitGUI/NmapOutputViewer.py
r1108 r1109 356 356 nmap_of = open(self.nmap_output_file) 357 357 content = nmap_of.read() 358 content.decode()359 358 log.debug("Nmap output to refresh: \n\n%s\n\n" % content) 360 359 361 360 # Converting to UTF-8 before trying to use it on GTK 362 self.text_buffer.set_text( content.encode("utf-8"))361 self.text_buffer.set_text(repr(content)) 363 362 364 363 # Closing file to avoid file descriptor problems
