diff options
| author | acid-burn <acidburn@opendreambox.org> | 2008-11-14 08:24:36 +0100 |
|---|---|---|
| committer | acid-burn <acidburn@opendreambox.org> | 2008-11-14 08:24:36 +0100 |
| commit | 6933710b3eab806151f6352d3b1a228fb72a3e96 (patch) | |
| tree | b012abc7ee65fe176f9588866db9933162d7217d /lib/python | |
| parent | 134bb4191d6681051ca92a8d345be6865d30a5a3 (diff) | |
| download | enigma2-6933710b3eab806151f6352d3b1a228fb72a3e96.tar.gz enigma2-6933710b3eab806151f6352d3b1a228fb72a3e96.zip | |
small skin fix
fix possible crash when leaving networksetup
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/Components/Network.py | 1 | ||||
| -rwxr-xr-x | lib/python/Screens/NetworkSetup.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 7cc61d84..53b487d5 100755 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -63,6 +63,7 @@ class Network: def getDataForInterface(self, iface,callback): #get ip out of ip addr, as avahi sometimes overrides it in ifconfig. + self.Console = Console() cmd = "ip -o addr" self.Console.ePopen(cmd, self.IPaddrFinished, [iface,callback]) diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py index 588a46ff..32e2dafd 100755 --- a/lib/python/Screens/NetworkSetup.py +++ b/lib/python/Screens/NetworkSetup.py @@ -174,6 +174,7 @@ class NetworkAdapterSelection(Screen,HelpableScreen): def cleanup(self): iNetwork.stopLinkStateConsole() iNetwork.stopRestartConsole() + iNetwork.stopGetInterfacesConsole() def restartLan(self): iNetwork.restartNetwork(self.restartLanDataAvail) |
