Get more exchange rates

This commit is contained in:
Edward Betts 2024-04-18 22:26:04 +01:00
parent b0381db3b5
commit 66ca6c0744
2 changed files with 53 additions and 1 deletions

View file

@ -12,13 +12,13 @@ from time import time
import requests
import agenda.fx
import agenda.thespacedevs
import agenda.types
import agenda.uk_holiday
import agenda.waste_schedule
from agenda import gwr
config = __import__("config.default", fromlist=[""])
@ -133,6 +133,9 @@ def main() -> None:
update_gwr_advance_ticket_date()
update_gandi()
if hour % 12 == 0:
agenda.fx.get_exchange_rates(config)
update_thespacedevs()