diff --git a/agenda/__init__.py b/agenda/__init__.py index 37b8b3d..2dccc2e 100644 --- a/agenda/__init__.py +++ b/agenda/__init__.py @@ -288,24 +288,14 @@ def get_accommodation(from_date: date, filepath: str) -> list[Event]: ) from_date = item["from"] to_date = item["to"] - # nights = (to_date.date() - from_date.date()).days - # night_str = f"{nights} nights" if nights != 1 else "1 night" e = Event( date=from_date, end_date=to_date, name="accommodation", - # title=f"check-in {title} ({night_str})", title=title, url=item.get("url"), ) events.append(e) - # checkout = Event( - # date=to_date, - # name="accommodation", - # title="check-out " + title, - # url=item.get("url"), - # ) - # events += [checkin, checkout] return events