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:
parent
f46e5479a7
commit
0264dbbe43
@ -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',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user