From 0264dbbe43c10d2e69349dd9cfa9309ded87ab6b Mon Sep 17 00:00:00 2001 From: Moorob Date: Thu, 9 Jan 2020 13:06:49 -0500 Subject: [PATCH] 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. --- gramps/gen/mime/_pythonmime.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/gen/mime/_pythonmime.py b/gramps/gen/mime/_pythonmime.py index d9dd7f5f6..979f3b86c 100644 --- a/gramps/gen/mime/_pythonmime.py +++ b/gramps/gen/mime/_pythonmime.py @@ -29,6 +29,8 @@ _type_map = { 'application/x-gedcom' : 'GEDCOM database', 'application/x-gramps-package': 'Gramps package', 'image/jpeg' : 'JPEG image', + 'image/tiff' : 'TIFF image', + 'image/png' : 'PNG image', 'application/pdf' : 'PDF document', 'text/rtf' : 'Rich Text File', }