summaryrefslogtreecommitdiff
path: root/jimbrella/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'jimbrella/database.py')
-rw-r--r--jimbrella/database.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jimbrella/database.py b/jimbrella/database.py
index 2b31356..f0d519e 100644
--- a/jimbrella/database.py
+++ b/jimbrella/database.py
@@ -213,7 +213,7 @@ class Database:
umb["lent_at"] = date
self._update(umb)
- def give_back(self, serial, date) -> None:
+ def give_back(self, serial) -> None:
"""When a user has returned an umbrella."""
umb = self._find_by_serial(serial)
if umb is None:
@@ -226,7 +226,7 @@ class Database:
umb["lent_at"] = None
self._update(umb)
- def mark_overdue(self, serial, date) -> None:
+ def mark_overdue(self, serial) -> None:
"""When an umbrella is overdue, change its status to "overdue"."""
umb = self._find_by_serial(serial)
if umb is None: