Skip to content

Commit

Permalink
remove lower case conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-hh-ding committed Oct 29, 2023
1 parent e9aeeca commit c9bdf3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jvd/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ def get_file_type(file):
file = str(file.resolve())
try:
if isinstance(file, str):
file_type = magic.from_file(file).lower()
file_type = magic.from_file(file)
else:
file_type = magic.from_buffer(file).lower()
file_type = magic.from_buffer(file)

if file_type.startswith('data'):
if isinstance(file, str):
Expand Down

0 comments on commit c9bdf3b

Please sign in to comment.