-
-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Description
Bug Metadata
- Version of extract_msg: 0.48.5
- Your python version: Python [3.10]
- How did you launch extract_msg?
I used the extract_msg package
Describe the bug
If the “msg” is corrupt and extract_msg.openMsg(filename) will fail, BUT file will not close() after the error. Python will keep the file open until the process is closed.
Additional context
Just add “self.close(“) in \extract_msg\msg_classes\msg.py before “raise StandardViolationError('File does not contain a property stream.') from None” can solve the issue.
Metadata
Metadata
Assignees
Labels
No labels