Update _pythonmime.py (#972)

When editing a Media image, Unknown is displayed if the image is a Tiff or Png.  This changes this to display TIFF image or PNG image instead.  Just a cosmetic change.
This commit is contained in:
Moorob 2020-01-09 13:06:49 -05:00 committed by Paul Culley
parent f46e5479a7
commit 0264dbbe43

View File

@ -29,6 +29,8 @@ _type_map = {
'application/x-gedcom' : 'GEDCOM database', 'application/x-gedcom' : 'GEDCOM database',
'application/x-gramps-package': 'Gramps package', 'application/x-gramps-package': 'Gramps package',
'image/jpeg' : 'JPEG image', 'image/jpeg' : 'JPEG image',
'image/tiff' : 'TIFF image',
'image/png' : 'PNG image',
'application/pdf' : 'PDF document', 'application/pdf' : 'PDF document',
'text/rtf' : 'Rich Text File', 'text/rtf' : 'Rich Text File',
} }