mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Fix error if data type is None
This commit is contained in:
@@ -394,6 +394,9 @@ AS $geojson_py$
|
||||
import json
|
||||
parsed = json.loads(original)
|
||||
output = []
|
||||
#plpy.notice(parsed)
|
||||
# [None, None]
|
||||
if None not in parsed:
|
||||
for idx, x in enumerate(parsed):
|
||||
#plpy.notice(idx, x)
|
||||
for feature in x:
|
||||
|
Reference in New Issue
Block a user