Adjust bristol waste function names

This commit is contained in:
Edward Betts 2024-07-14 23:10:00 +08:00
parent 0f3f596cb3
commit 5c4eac60ee
3 changed files with 13 additions and 15 deletions

View file

@ -39,7 +39,7 @@ async def update_bank_holidays(config: flask.config.Config) -> None:
async def update_bristol_bins(config: flask.config.Config) -> None:
"""Update waste schedule from Bristol City Council."""
t0 = time()
events = await agenda.bristol_waste.get_bristol_gov_uk(
events = await agenda.bristol_waste.get(
date.today(), config["DATA_DIR"], config["BRISTOL_UPRN"], refresh=True
)
time_taken = time() - t0