create backends with Weboob object
This commit is contained in:
parent
7cdf5060ae
commit
8c4340bed3
6 changed files with 47 additions and 42 deletions
|
|
@ -20,8 +20,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
"""
|
||||
|
||||
class Backend:
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
def __init__(self, weboob):
|
||||
self.weboob = weboob
|
||||
|
||||
def hasCaps(self, caps):
|
||||
if not isinstance(caps, (list,tuple)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue