Commit 08413ed3 authored by Florent Fourcot's avatar Florent Fourcot

opacwebaloes: fix API change

Commit 631364b0 (library: rename get_booked/get_rented) updated API,
without module updates. Even if this module is probably broken, it's a
bad idea to keep invalid code.
parent dc34bdf2
......@@ -55,9 +55,9 @@ class AloesModule(Module, CapBook):
yield book
def iter_books(self):
for book in self.get_booked():
for book in self.iter_booked():
yield book
for book in self.get_rented():
for book in self.iter_rented():
yield book
def get_book(self, _id):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment