Forums

web app works on local dev server, only partially on Python Anywhere?

My site - https://www.pythonanywhere.com/user/jayriihi/ retrieves wind data for various time intervals. It works fine for the 8hr interval but does not retrieve data for the 1 and 3 hr intervals. It works fine on the local dev server and the code was pushed/pulled via github. I've been trying to figure this out for some time now and can't see what the issue is. Any thoughts or tips would be greatly appreciated. Thanks! Jay

Got It!! I had to increase the timedelta by 3 hours for each interval to allow for the server location timezone which is 3 hours ahead of the timezone I'm reporting for!!

Glad to hear that you made it work!