Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion patoolib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def guess_mime_mimedb (filename):
"""
mime, encoding = None, None
if mimedb is not None:
mime, encoding = mimedb.guess_type(filename, strict=False)
mime, encoding = mimedb.guess_type(filename.lower(), strict=False)
if mime not in ArchiveMimetypes and encoding in ArchiveCompressions:
# Files like 't.txt.gz' are recognized with encoding as format, and
# an unsupported mime-type like 'text/plain'. Fix this.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from distutils.file_util import write_file

AppName = "patool"
AppVersion = "1.13.9"
AppVersion = "1.14.0"
MyName = "Bastian Kleineidam"
MyEmail = "bastian.kleineidam@web.de"

Expand Down