Skip to content

change to take into account empty files#250

Closed
aperin13 wants to merge 1 commit intoahupp:masterfrom
aperin13:master
Closed

change to take into account empty files#250
aperin13 wants to merge 1 commit intoahupp:masterfrom
aperin13:master

Conversation

@aperin13
Copy link
Copy Markdown

@aperin13 aperin13 commented Sep 2, 2021

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
Copy link
Copy Markdown
Owner

ahupp commented Sep 2, 2021

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

@ahupp ahupp closed this Sep 2, 2021
@aperin13
Copy link
Copy Markdown
Author

aperin13 commented Sep 3, 2021 via email

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