Compare commits

..

No commits in common. "f0c28d24408d78b1b9e1512e6bd5fa31d3e4f8e4" and "ebd46a7a21b6a2d341ac9b59a609741ce6fb90cd" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View file

@ -39,6 +39,7 @@ from . import (
) )
from .types import Event, StrDict, Trip from .types import Event, StrDict, Trip
here = dateutil.tz.tzlocal() here = dateutil.tz.tzlocal()
# deadline to file tax return # deadline to file tax return
@ -266,11 +267,7 @@ def busy_event(e: Event) -> bool:
return False return False
lc_title = e.title.lower() lc_title = e.title.lower()
return ( return "rebels" not in lc_title and "south west data social" not in lc_title
"rebels" not in lc_title
and "south west data social" not in lc_title
and "dorkbot" not in lc_title
)
async def time_function( async def time_function(

View file

@ -2,7 +2,6 @@
import os import os
from .types import Event from .types import Event
from datetime import datetime
import json import json
@ -19,7 +18,7 @@ def get_events(data_dir: str) -> list[Event]:
return [ return [
Event( Event(
date=datetime.fromisoformat(item["dates"]["registry_ends_at"]).date(), date=item["dates"]["registry_ends_at"],
name="domain", name="domain",
title=item["fqdn"] + " renewal", title=item["fqdn"] + " renewal",
) )

View file

@ -131,7 +131,6 @@ def main() -> None:
asyncio.run(update_bank_holidays()) asyncio.run(update_bank_holidays())
asyncio.run(update_bristol_bins()) asyncio.run(update_bristol_bins())
update_gwr_advance_ticket_date() update_gwr_advance_ticket_date()
update_gandi()
update_thespacedevs() update_thespacedevs()