X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7736d2891455a0641cbcfb7d99473a8be040ca55..039ed476ea328678b76a5c6eee1311198c7040af:/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