mirror of
https://amiok.net/gitea/W1CDN/aprs_tool.git
synced 2025-05-25 14:00:21 +00:00
Gotta update the datestamp too.
This commit is contained in:
parent
875546040f
commit
f447a807b2
@ -84,7 +84,8 @@ def main():
|
||||
query3 = "INSERT INTO stations ([from], last_heard_unix, count) \
|
||||
VALUES("+station_update+") \
|
||||
ON CONFLICT([from]) \
|
||||
DO UPDATE SET count = count + 1;"
|
||||
DO UPDATE SET count = count + 1,\
|
||||
last_heard_unix = excluded.last_heard_unix;"
|
||||
#print(query3)
|
||||
logging.debug(query3)
|
||||
# Insert/update data
|
||||
|
Loading…
x
Reference in New Issue
Block a user