diff options
| author | acid-burn <acidburn@opendreambox.org> | 2008-11-10 16:15:44 +0100 |
|---|---|---|
| committer | acid-burn <acidburn@opendreambox.org> | 2008-11-10 16:15:44 +0100 |
| commit | c138841fc86578cb4344a305cc2ca7e0f7fd4ca8 (patch) | |
| tree | b156633e63a1210dffa39a4b30c9ae37dd0d1304 /lib/python/Components/Network.py | |
| parent | 3d14c9d74ad4caa1e732b82ad62f695c658d4f40 (diff) | |
| download | enigma2-c138841fc86578cb4344a305cc2ca7e0f7fd4ca8.tar.gz enigma2-c138841fc86578cb4344a305cc2ca7e0f7fd4ca8.zip | |
remove unneeded calls to iNetwork.getinterfaces
cleanups
fix typo
Diffstat (limited to 'lib/python/Components/Network.py')
| -rwxr-xr-x | lib/python/Components/Network.py | 7 |
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 |
