Skip to content

Commit 8df6da3

Browse files
committed
Was trying to subscript a without awaiting
1 parent 16d8ac7 commit 8df6da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geojson_aoi/_async/postgis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def __aenter__(self) -> "AsyncPostGis":
7272
# cur.execute(self.normalize.merge_disjoints(self.geoms, self.table_id))
7373

7474
await cur.execute(self.normalize.query_as_feature_collection(self.table_id))
75-
self.featcol = await cur.fetchall()[0][0]
75+
self.featcol = (await cur.fetchall())[0][0]
7676

7777
return self
7878

0 commit comments

Comments
 (0)