hilangkan audit

This commit is contained in:
='fauz 2025-07-02 14:44:45 +07:00
parent 6208e1a655
commit 51d467f357
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ def audit_geojson_paths(conn, table):
errors.append(row[0]) errors.append(row[0])
except Exception as e: except Exception as e:
errors.append(row[0]) 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 return errors
#MAP DATA #MAP DATA
@ -80,7 +80,7 @@ def fetch_geojson(conn, level, parent_code=None):
return {"type": "FeatureCollection", "features": []} return {"type": "FeatureCollection", "features": []}
# Jalankan audit # Jalankan audit
invalid_ids = audit_geojson_paths(conn, table_name) # invalid_ids = audit_geojson_paths(conn, table_name)
cur = conn.cursor() cur = conn.cursor()
if level == 'provinsi': if level == 'provinsi':