diff options
Diffstat (limited to 'core/models/caves.py')
-rw-r--r-- | core/models/caves.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/models/caves.py b/core/models/caves.py index 2769cdb..3e2511b 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -598,9 +598,13 @@ def GetCaveLookup(): ("2007-71", "1623-271"), ("2010-01", "1623-263"), ("2010-03", "1623-293"), + ("2012-70", "1623-296"), + ("1623-2012-70", "1623-296"), + ("2012-dd-05", "1623-286"), + ("2012-dd-08", "1623-297"), # ("2011-01", "1623-292"), seems to be a mistake ("2012-dd-05", "1623-286"), - ("2012-0w-01", "2012-ow-01"), + ("2012-0w-01", "2012-ow-01"), # typo zero for 'O' ("2012-ns-13", "1623-292"), ("2014-neo-01", "1623-273"), ("2014-sd-01", "1623-274"), @@ -624,8 +628,8 @@ def GetCaveLookup(): ("2011-01-bs30", "1623-190"), ("bs30", "1623-190"), ("2011-01", "1623-190"), - ("2002-x11", "2005-08"), - ("2002-x12", "2005-07"), + ("2002-x11", "1623-2005-08"), + ("2002-x12", "1623-2005-07"), ("2002-x13", "1623-2005-06"), ("2002-x14", "2005-05"), ("kh", "1623-161"), @@ -676,7 +680,7 @@ def GetCaveLookup(): else: message = f" * Coding or cave existence mistake, cave for id '{alias}' does not exist. Expecting to set alias '{key}' to it" print(message) - DataIssue.objects.create(parser="aliases", message=message) + DataIssue.objects.update_or_create(parser="aliases", message=message) addmore = {} for id in Gcavelookup: |