Changeset 1109

Show
Ignore:
Timestamp:
07/25/07 03:10:48 (6 years ago)
Author:
boltrix
Message:

Trying to print the repr to watch the problem

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/umitGUI/NmapOutputViewer.py

    r1108 r1109  
    356356        nmap_of = open(self.nmap_output_file) 
    357357        content = nmap_of.read() 
    358         content.decode() 
    359358        log.debug("Nmap output to refresh: \n\n%s\n\n" % content) 
    360359 
    361360        # 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)) 
    363362 
    364363        # Closing file to avoid file descriptor problems