fix bug when using acc for open event

This commit is contained in:
2025-11-26 16:00:08 +01:00
parent 5f55aa32fa
commit 27603536a8
2 changed files with 2 additions and 2 deletions

View File

@@ -46,4 +46,4 @@ class TimeSlot():
def duration(self) -> datetime.timedelta:
end = self.end
if not end: end = datetime.now()
return self.end - self.start
return end - self.start