diff options
| author | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-10-28 18:06:01 +0000 |
|---|---|---|
| committer | Andreas Frisch <andreas.frisch@multimedia-labs.de> | 2008-10-28 18:06:01 +0000 |
| commit | 77923ed4e1caecf4cef7d46bd6979ef700fed7e2 (patch) | |
| tree | 182839c9771ad8ceb40839c283c561156b735b05 /lib/python/Components | |
| parent | 65f5384bb4f7763e5176c871024f197b2c053eee (diff) | |
| download | enigma2-77923ed4e1caecf4cef7d46bd6979ef700fed7e2.tar.gz enigma2-77923ed4e1caecf4cef7d46bd6979ef700fed7e2.zip | |
change internal handling of media format types and don't scan cd before opening context menu
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Scanner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py index d944c4c7..766d1966 100644 --- a/lib/python/Components/Scanner.py +++ b/lib/python/Components/Scanner.py @@ -132,9 +132,9 @@ def scanDevice(mountpoint): # convert to list paths_to_scan = list(paths_to_scan) - + from Components.Harddisk import harddiskmanager - blockdev = mountpoint.rsplit('/',1)[-1] + blockdev = mountpoint.rstrip("/").rsplit('/',1)[-1] error, blacklisted, removable, is_cdrom, partitions = harddiskmanager.getBlockDevInfo(blockdev) # now scan the paths |
