diff options
Diffstat (limited to 'parsers/caves.py')
-rw-r--r-- | parsers/caves.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parsers/caves.py b/parsers/caves.py index 4607b22..b7d2a20 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -224,7 +224,7 @@ def do_ARGE_cave(slug, caveid, areacode, svxid): cave.kataster_number=kn # should only set this if all digit except: # must be unofficial 'number' or name - cave.unofficial_number=caveid.upper() + cave.unofficial_number=caveid cave.save() @@ -347,7 +347,7 @@ def do_pending_cave(slug, caveid, url, areacode, msg=None): survex_file = get_survex_file(slug) cave = Cave( - unofficial_number=caveid.upper(), + unofficial_number=caveid, underground_description="Pending cave write-up - No cave description created yet.", survex_file=survex_file, url=url, @@ -818,7 +818,7 @@ def readcaves(): with open(fpending, "r") as fo: cids = fo.readlines() for cid in cids: - pending.add(cid.strip().rstrip("\n").upper()) + pending.add(cid.strip().rstrip("\n")) with transaction.atomic(): print(" - Deleting Caves and Entrances") |