389 if mimetype is None: |
389 if mimetype is None: |
390 EricMessageBox.warning( |
390 EricMessageBox.warning( |
391 self, |
391 self, |
392 self.tr("Show Mime-Type"), |
392 self.tr("Show Mime-Type"), |
393 self.tr( |
393 self.tr( |
394 """The mime type of the file could not be""" """ determined.""" |
394 """The mime type of the file could not be determined.""" |
395 ), |
395 ), |
396 ) |
396 ) |
397 elif mimetype.split("/")[0] == "text": |
397 elif mimetype.split("/")[0] == "text": |
398 EricMessageBox.information( |
398 EricMessageBox.information( |
399 self, |
399 self, |