Skip to content

change to take into account empty files - #250

Closed
aperin13 wants to merge 1 commit into
ahupp:masterfrom
aperin13:master
Closed

aperin13 wants to merge 1 commit into
ahupp:masterfrom
aperin13:master

Conversation

@aperin13

@aperin13 aperin13 commented Sep 2, 2021

Copy link
Copy Markdown

No description provided.

ahupp added a commit that referenced this pull request Sep 2, 2021
I can't repro this, but PR #250 suggests that some versions of
libmagic will return a mimetype that doesn't include a charset,
leading to an exception.  Fall back to an empty charset in this case.
@ahupp

ahupp commented Sep 2, 2021

Copy link
Copy Markdown
Owner

Thanks! I pushed a slightly different fix for this in 73bcc74

@ahupp ahupp closed this Sep 2, 2021
@aperin13

aperin13 commented Sep 3, 2021 via email •

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants