fead(Inventory): update add method

This commit is contained in:
Kristofers Solo 2023-11-06 20:15:12 +02:00
parent f0087b97ce
commit 73090ea440

View File

@ -29,7 +29,7 @@ class Inventory:
"""Close database connection."""
self.conn.close()
def add(self, *books: list[Book]) -> None:
def add(self, *books: Book) -> None:
"""Add `Book` to the `Inventory`. `Book`s ISBN must be unique."""
for book in books:
try: