parent
f3f9ee5bf9
commit
8f749c8e35
4 changed files with 43 additions and 9 deletions
|
|
@ -312,7 +312,6 @@ def get_busy_events(
|
|||
url=flask.url_for("trip_page", start=trip.start.isoformat()),
|
||||
)
|
||||
)
|
||||
# pprint(events)
|
||||
|
||||
busy_events = [
|
||||
e
|
||||
|
|
@ -426,7 +425,11 @@ async def get_data(
|
|||
|
||||
holiday_list = holidays.get_all(last_year, next_year, data_dir)
|
||||
events += holidays.combine_holidays(holiday_list)
|
||||
events += birthday.get_birthdays(last_year, os.path.join(my_data, "entities.yaml"))
|
||||
if flask.g.user.is_authenticated:
|
||||
events += birthday.get_birthdays(
|
||||
last_year, os.path.join(my_data, "entities.yaml")
|
||||
)
|
||||
events += domains.renewal_dates(my_data)
|
||||
events += accommodation_events
|
||||
events += travel.all_events(my_data)
|
||||
events += conference.get_list(os.path.join(my_data, "conferences.yaml"))
|
||||
|
|
@ -440,8 +443,6 @@ async def get_data(
|
|||
events += hn.whoishiring(last_year, next_year)
|
||||
events += rio_carnival_events(last_year, next_year)
|
||||
|
||||
events += domains.renewal_dates(my_data)
|
||||
|
||||
# hide markets that happen while away
|
||||
optional = [
|
||||
e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue