1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-03 23:35:52 +01:00

experimental:

- Use the full path to wpa_passphrase.
- Fix some crashing bugs in the daemon and configscript.py
- Port a few changes/fixes from trunk.
- Some minor refactoring.
This commit is contained in:
imdano
2008-09-18 21:18:40 +00:00
parent 55e292b3c1
commit 890b5ee16a
9 changed files with 56 additions and 49 deletions

View File

@@ -55,6 +55,12 @@ class BackendManager(object):
if self._valid_backend_file(os.path.join(self.backend_dir, f)):
be_list.append(f[3:-3])
return be_list
def get_update_interval(self):
if self.__loaded_backend:
return self.__loaded_backend.UPDATE_INTERVAL
else:
return None
def load_backend(self, backend_name):
""" Load and return a backend module.