diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-27 03:46:53 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-27 03:46:53 +0000 |
| commit | e40c611f0cf2653a48571f0081cf193ebfd2ffcf (patch) | |
| tree | 81e0722ed6fc06790ce76630bf471f3830e5a647 /lib/python | |
| parent | e5be8d7dbdb42cc287d6ba65ecc3a08685412fc1 (diff) | |
| download | enigma2-e40c611f0cf2653a48571f0081cf193ebfd2ffcf.tar.gz enigma2-e40c611f0cf2653a48571f0081cf193ebfd2ffcf.zip | |
fix very stupid error
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/Network.py | 2 | ||||
| -rw-r--r-- | lib/python/Plugins/update.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 99afb75d..8375d235 100644 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -12,7 +12,7 @@ class Network: # fixme using interfaces.tmp instead of interfaces for now fp = file('/etc/network/interfaces', 'w') fp.write("auto eth0\n") - if (config.network.dhcp.value == _("yes")): + if (config.network.dhcp.value == 1): fp.write("iface eth0 inet dhcp\n") else: fp.write("iface eth0 inet static\n") diff --git a/lib/python/Plugins/update.py b/lib/python/Plugins/update.py index 01e986e8..a1525cf3 100644 --- a/lib/python/Plugins/update.py +++ b/lib/python/Plugins/update.py @@ -30,7 +30,6 @@ class Example(Screen): def doUpdate(self, val = False): if val: - print "updating" lines = os.popen("ipkg update && ipkg upgrade", "r").readlines() string = "" for x in lines: |
