diff options
Diffstat (limited to 'jimbrella')
-rw-r--r-- | jimbrella/database.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jimbrella/database.py b/jimbrella/database.py index 07ff6e0..7f82799 100644 --- a/jimbrella/database.py +++ b/jimbrella/database.py @@ -56,7 +56,9 @@ class Database(CsvTable): {"name": "tenant_email"}, { "name": "lent_at", - "serializer": lambda d: d.isoformat(timespec="seconds") if d else "", + "serializer": lambda d: d.isoformat(timespec="seconds") + if d + else "", "deserializer": lambda d: datetime.fromisoformat(d) if d else None, }, ], |