X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/fdb15fdd11d88b73900badf092cf2db0e8d3aabf..89247308c18ca8b36b6973f780fd3ae6c0563dfc:/lib/python/Components/Scanner.py diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py index 860918c0..6acdecc8 100644 --- a/lib/python/Components/Scanner.py +++ b/lib/python/Components/Scanner.py @@ -72,7 +72,7 @@ class ScanFile: def __init__(self, path, mimetype = None, size = None, autodetect = True): self.path = path if mimetype is None and autodetect: - (self.mimetype, _) = guess_type(path) + self.mimetype = getType(path) else: self.mimetype = mimetype self.size = size