git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix and simplify PluginList
[enigma2.git]
/
lib
/
python
/
Components
/
Scanner.py
diff --git
a/lib/python/Components/Scanner.py
b/lib/python/Components/Scanner.py
index 860918c034d75add219167a8ca64a971476f639c..6acdecc89b41ce25d3cda1576c2c456ac3faa036 100644
(file)
--- 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_t
ype(path)
+
self.mimetype = getT
ype(path)
else:
self.mimetype = mimetype
self.size = size