Argument order? REVERSED??? It's more likely than you think

This commit is contained in:
XANTRONIX Development 2025-02-10 21:23:03 -05:00
parent 1600357d51
commit be15032ce9
2 changed files with 3 additions and 3 deletions

View file

@ -73,5 +73,5 @@ class Station():
db.execute(sql, ( db.execute(sql, (
self.wban, self.call, self.name, self.wban, self.call, self.name,
self.site_elevation, self.tower_height, self.site_elevation, self.tower_height,
self.coord.lat, self.coord.lon self.coord.lon, self.coord.lat
)) ))

View file

@ -129,7 +129,7 @@ class StormReport():
print(sql) print(sql)
st = db.execute(sql, (self.coord_start.lat, st = db.execute(sql, (self.coord_start.lon,
self.coord_start.lon))) self.coord_start.lat)))
return st.fetchone() return st.fetchone()