Skip to content

Commit

Permalink
Adds MIME type that compatable with Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Gateswong authored Aug 23, 2022
1 parent 752859f commit 6df87d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beangulp/importers/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def prepare_for_identifier(regexps: Union[str, List[str]],
if isinstance(regexps, str):
regexps = [regexps]
matchers = matchers or []
matchers.append(('mime', 'text/csv'))
matchers.append(('mime', '(text/csv)|(application/vnd\\.ms-excel)'))
if regexps:
for regexp in regexps:
matchers.append(('content', regexp))
Expand Down

0 comments on commit 6df87d7

Please sign in to comment.