Oops, "type" was a bad choice of field name

This commit is contained in:
Ian Renton
2026-08-14 17:59:15 +01:00
parent 12c2e66c64
commit efec8e220e
29 changed files with 47 additions and 36 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class WWFF(FileDownloadSIGRefDataProvider):
for row in csv.DictReader(http_response.content.decode("utf-8-sig").splitlines()):
ref_id = row["reference"]
new_data.append(SIGRef(sig=self.SIG, id=ref_id, name=row["name"] if "name" in row else None,
type="Park",
ref_type="Park",
url="https://wwff.co/directory/?showRef=" + ref_id,
grid=row["iaruLocator"] if "iaruLocator" in row and row[
"iaruLocator"] != "-" else None,