Private
Public Access
1
0

bug in metar

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

View File

@@ -4932,7 +4932,7 @@ def workout_downloadmetar_view(request,id=0,
startdatetime = dateutil.parser.parse("{}, {}".format(row.date,
row.starttime))
starttimeunix = arrow.get(startdatetime).timestamp
starttimeunix = arrow.get(row.startdatetime).timestamp
#starttimeunix = int(mktime(startdatetime.utctimetuple()))
avgtime = starttimeunix+avgtime
winddata = get_metar_data(airportcode,avgtime)