aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authoracid-burn <acidburn@opendreambox.org>2008-11-10 16:15:44 +0100
committeracid-burn <acidburn@opendreambox.org>2008-11-10 16:15:44 +0100
commitc138841fc86578cb4344a305cc2ca7e0f7fd4ca8 (patch)
treeb156633e63a1210dffa39a4b30c9ae37dd0d1304 /lib/python/Components
parent3d14c9d74ad4caa1e732b82ad62f695c658d4f40 (diff)
downloadenigma2-c138841fc86578cb4344a305cc2ca7e0f7fd4ca8.tar.gz
enigma2-c138841fc86578cb4344a305cc2ca7e0f7fd4ca8.zip
remove unneeded calls to iNetwork.getinterfaces
cleanups fix typo
Diffstat (limited to 'lib/python/Components')
-rwxr-xr-xlib/python/Components/Network.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index c41469da..7cc61d84 100755
--- a/lib/python/Components/Network.py
+++ b/lib/python/Components/Network.py
@@ -505,9 +505,10 @@ class Network:
def deactivateInterfaceFinished(self,extra_args):
callback = extra_args
- if len(self.deactivateInterfaceConsole.appContainers) == 0:
- if callback is not None:
- callback(True)
+ if self.deactivateInterfaceConsole:
+ if len(self.deactivateInterfaceConsole.appContainers) == 0:
+ if callback is not None:
+ callback(True)
def detectWlanModule(self):
self.wlanmodule = None