Renew command on champslibres

This commit is contained in:
Florent Fourcot 2012-03-15 22:35:03 +01:00 committed by Romain Bignon
commit 03f998a33f
3 changed files with 24 additions and 0 deletions

View file

@ -56,6 +56,10 @@ class ChampslibresBackend(BaseBackend, ICapBook):
def get_booked(self):
raise NotImplementedError()
def renew_book(self, id):
self.browser.renew(id)
def iter_books(self):
#for book in self.get_booked():
# yield book