From 01ffe3bde737bee66c02266c50128fb4f732a5d4 Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 4 Jan 2025 16:14:55 +0800 Subject: [PATCH] Refine --- api/s24_coordinates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/s24_coordinates.py b/api/s24_coordinates.py index ba0fa21..1e6d5f2 100644 --- a/api/s24_coordinates.py +++ b/api/s24_coordinates.py @@ -50,7 +50,7 @@ def get_links_in_extent(name: str, x1: float, y1: float, x2: float, y2: float) - all_link_ids = [] with conn[name].cursor(row_factory=dict_row) as cur: - cur.execute(f"select id from pipes where order by id") + cur.execute(f"select id from pipes") for record in cur: all_link_ids.append(record['id'])