Private
Public Access
1
0

fixed wind

This commit is contained in:
Sander Roosendaal
2017-10-17 18:15:07 +02:00
parent 99e7ecba43
commit ee50c6fe0c
2 changed files with 2 additions and 2 deletions

View File

@@ -4862,7 +4862,7 @@ def workout_downloadwind_view(request,id=0,
startdatetime = dateutil.parser.parse("{}, {}".format(row.date,
row.starttime))
starttimeunix = int(arrow.get(startdatetime).timestamp)
starttimeunix = int(arrow.get(row.startdatetime).timestamp)
#starttimeunix = int(mktime(startdatetime.utctimetuple()))
avgtime = starttimeunix+avgtime
winddata = get_wind_data(avglat,avglon,avgtime)