Ejemplo n.º 1
0
Archivo: editor.py Proyecto: tkmru/biwx
    def load_file(self, header_indexies, footer_indexies):
        try:
            self.remove_old_signature_cell_color()
            self.update_rows(self.resource.binary)
            self.change_signature_cell_color(header_indexies, footer_indexies)

            if fy.check_hidden_data(self.resource.binary, header_indexies, footer_indexies):
                ui_parts.message_box('This file include hidden file.', 'Hidden File Alert', wx.OK | wx.ICON_ERROR)

        except Exception, e:
            print e
            ui_parts.message_box('Can not open file {0}.'.format(self.resource.file_path), 'Load File Error', wx.OK | wx.ICON_ERROR)
Ejemplo n.º 2
0
Archivo: editor.py Proyecto: tkmru/biwx
 def check_hidden_data(self, binary_string, header_indexies, footer_indexies):
     if fy.check_hidden_data(binary_string, header_indexies, footer_indexies):
         ui_parts.message_box('This file include hidden file.', 'Hidden File Alert', wx.OK | wx.ICON_ERROR)