diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-11 22:05:26 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-11 22:05:26 +0000 |
| commit | 3d054bf2cc5942ca6e15c8944b4d927d85903713 (patch) | |
| tree | c5110ad9b2606e46f12c23dc65b56d9a9445123f /lib/python | |
| parent | ac69935a53481230525c4e408e38271d25833ff7 (diff) | |
| download | enigma2-3d054bf2cc5942ca6e15c8944b4d927d85903713.tar.gz enigma2-3d054bf2cc5942ca6e15c8944b4d927d85903713.zip | |
make it compatible with 7020 again (should be removed in the final version)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/NimManager.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index f04d076d..53c6b62c 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -132,7 +132,14 @@ class NimManager: nimfile = tryOpen("/proc/bus/nim_sockets") if nimfile == "": - return self.nimType["empty/unknown"] + # FIXME: remove this in the final version + # check if we have a device for 7020 comp?atibility reasons + try: + open("/dev/dvb/card0/frontend" + str(slotID)) + return self.nimType["DVB-S"] + except IOError: + return self.nimType["empty/unknown"] + while 1: line = nimfile.readline() |
