keep selected event when modifying sort order (Moritz Venn)
[enigma2.git] / lib / python / Components / Network.py
index 3ee76298312549c87cd6552019867686f94d0ab0..6fbd99945e57c2eb71f1147696c9aaf3b66698f7 100644 (file)
@@ -1,5 +1,3 @@
-from Components.config import config, ConfigYesNo, ConfigIP, NoSave, ConfigSubsection, ConfigMAC
-
 import os
 import re
 from socket import *
@@ -190,7 +188,7 @@ class Network:
 
        def deactivateNetworkConfig(self):
                for iface in self.ifaces.keys():
-                       os.system("ip addr flush" + iface)
+                       os.system("ip addr flush " + iface)
                os.system("/etc/init.d/networking stop")
                os.system("killall -9 udhcpc")
                os.system("rm /var/run/udhcpc*")