Skip to content

Commit 30a28d8

Browse files
Merge branch 'next-release' of https://github.com/TeamMsgExtractor/msg-extractor into next-release
2 parents aba140e + 2889cc5 commit 30a28d8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

extract_msg/attachments/custom_att_handler/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'CustomAttachmentHandler',
2222
'LinkedObjectAttachment',
2323
'OutlookImageDIB',
24+
'OutlookImageMetafile',
2425

2526
# Functions.
2627
'getHandler',
@@ -55,6 +56,7 @@ def registerHandler(handler: Type[CustomAttachmentHandler]) -> None:
5556
# Import built-in handler modules. They will all automatically register their
5657
# respecive handler(s).
5758
from .outlook_image_dib import OutlookImageDIB
59+
from .outlook_image_meta import OutlookImageMetafile
5860
from .lnk_obj_att import LinkedObjectAttachment
5961

6062

extract_msg/attachments/custom_att_handler/outlook_image_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def name(self) -> str:
147147
# on the number.
148148
if not (name := self.attachment.name):
149149
name = f'attachment {int(self.attachment.dir[-8:], 16)}'
150-
return name + '.bmp'
150+
return name + '.wmf'
151151

152152
@property
153153
def obj(self) -> bytes:

0 commit comments

Comments
 (0)