s/AdopteUnMec/AuMBrowser/

This commit is contained in:
Christophe Benz 2010-07-11 02:20:39 +02:00
commit c01d2a3c6d
4 changed files with 7 additions and 10 deletions

View file

@ -30,7 +30,7 @@ from weboob.capabilities.dating import ICapDating, StatusField
from weboob.capabilities.contact import ICapContact, Contact, ProfileNode
from weboob.tools.browser import BrowserUnavailable
from .browser import AdopteUnMec
from .browser import AuMBrowser
from .exceptions import AdopteWait
from .optim.profiles_walker import ProfilesWalker
from .optim.visibility import Visibility
@ -53,14 +53,11 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesReply, ICapDating, ICapC
STORAGE = {'profiles_walker': {'viewed': []},
'sluts': {},
}
BROWSER = AdopteUnMec
BROWSER = AuMBrowser
def default_browser(self):
return self.build_browser(self.config['username'], self.config['password'])
# Private
_profiles_walker = None
def get_status(self):
with self.browser:
return (