hilangkan audit
This commit is contained in:
parent
6208e1a655
commit
51d467f357
Binary file not shown.
@ -62,7 +62,7 @@ def audit_geojson_paths(conn, table):
|
||||
errors.append(row[0])
|
||||
except Exception as e:
|
||||
errors.append(row[0])
|
||||
print(f"[AUDIT] Invalid GeoJSON paths found in {table}: {errors}")
|
||||
# print(f"[AUDIT] Invalid GeoJSON paths found in {table}: {errors}")
|
||||
return errors
|
||||
|
||||
#MAP DATA
|
||||
@ -80,7 +80,7 @@ def fetch_geojson(conn, level, parent_code=None):
|
||||
return {"type": "FeatureCollection", "features": []}
|
||||
|
||||
# Jalankan audit
|
||||
invalid_ids = audit_geojson_paths(conn, table_name)
|
||||
# invalid_ids = audit_geojson_paths(conn, table_name)
|
||||
|
||||
cur = conn.cursor()
|
||||
if level == 'provinsi':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user