mirror of
https://github.com/gryf/wicd.git
synced 2026-03-28 23:13:33 +01:00
Still trying to get rid of this empty wired-settings.conf section bug.
This commit is contained in:
@@ -1446,6 +1446,8 @@ class WiredDaemon(dbus.service.Object):
|
||||
@dbus.service.method('org.wicd.daemon.wired')
|
||||
def CreateWiredNetworkProfile(self, profilename, default=False):
|
||||
""" Creates a wired network profile. """
|
||||
if not profilename:
|
||||
return False
|
||||
profilename = misc.to_unicode(profilename)
|
||||
print "Creating wired profile for " + profilename
|
||||
if self.config.has_section(profilename):
|
||||
|
||||
Reference in New Issue
Block a user