Relative Content

Tag Archive for pythonxmlflaskapscheduler

Issue with Flask APScheduler and timezones

I am trying to display near real-time weather information on a website using xml data from a url. I can get the data loaded, but I am struggling how to run the function every 10 seconds (I am not that familiar with Flask/APScheduelr). I get a TypeError when I try to run the program. See attached error message. I tried downgrading tzlocal to 2.1 as per Python APScheduler Fails, but that still leads to the same error message.