add missing code 'and'
authorDima73 <Dima-73@inbox.lv>
Sat, 19 Dec 2015 12:29:12 +0000 (14:29 +0200)
committerDima73 <Dima-73@inbox.lv>
Sat, 19 Dec 2015 12:29:12 +0000 (14:29 +0200)
lib/python/Plugins/SystemPlugins/Satfinder/plugin.py

index abb56a7..dc9b5a1 100644 (file)
@@ -424,7 +424,7 @@ def SatfinderMain(session, close=None, **kwargs):
                        continue
                if n.config_mode  in ("loopthrough", "satposdepends", "nothing"):
                        continue
-               if n.isCompatible("DVB-S") and n.config_mode in ("advanced", "simple") len(nimmanager.getSatListForNim(n.slot)) < 1:
+               if n.isCompatible("DVB-S") and n.config_mode in ("advanced", "simple") and len(nimmanager.getSatListForNim(n.slot)) < 1:
                        n.config_mode = "nothing"
                        n.config_mode.save()
                        continue