# HG changeset patch # User greg # Date 1610977975 0 # Node ID 75ae6c48091888d5cf17579634046d56cff637fa # Parent 2a614e6ca8489a98cbfa6701e5d8350a7e620e47 Uploaded diff -r 2a614e6ca848 -r 75ae6c480918 update_stag_database.py --- a/update_stag_database.py Wed Nov 11 18:26:15 2020 +0000 +++ b/update_stag_database.py Mon Jan 18 13:52:55 2021 +0000 @@ -310,7 +310,7 @@ except Exception: # Insert a row into the colony table. cmd = "INSERT INTO colony VALUES (nextval('colony_id_seq'), %s, %s, %s, %s, %s, %s) RETURNING id;" - args = ['NOW()', 'NOW()', longitude, latitude, depth, reef_id] + args = ['NOW()', 'NOW()', latitude, longitude, depth, reef_id] cur = self.update(cmd, args) self.flush() colony_id = cur.fetchone()[0]