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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user