mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
pending caves aliases stuff
This commit is contained in:
parent
51dbf5e9e6
commit
505eb6475e
@ -641,7 +641,6 @@ def GetCaveLookup():
|
||||
("fishface", "1623-290"),
|
||||
("gsh", "1623-291"),
|
||||
("tempest", "1623-2023-lc-01"),
|
||||
("loveshack", "2023-pb-01"),
|
||||
|
||||
("1623-2023-kt-02", "2023-kt-02"),
|
||||
#("1623-2023-jss-01", "2023-jss-01"),
|
||||
@ -653,6 +652,8 @@ def GetCaveLookup():
|
||||
("heimkommen", "2018-dm-07"),
|
||||
("Heimkehr", "2018-dm-07"),
|
||||
("hc", "2018-dm-07"),
|
||||
("loveshack", "1626-2018-ad-03"),
|
||||
("crushed-garlic", "1626-2018-ad-03"),
|
||||
|
||||
]
|
||||
|
||||
|
@ -97,13 +97,13 @@ def is_cave(wallet, id):
|
||||
# Historic wallets used just 2 or 3 digits and were all 1623 area. So, just for these wallets,
|
||||
# assume it is 1623-xxx
|
||||
if f"1623-{id}" in Gcavelookup:
|
||||
print(f" - Should modify wallet {wallet} to us 1623- prefix for cave <{id}>")
|
||||
Gcavelookup[id] = Gcavelookup[f"1623-{id}"] # restoring ambiguous alias
|
||||
print(f" - Should modify wallet {wallet} to use 1623- prefix for cave <{id}>")
|
||||
Gcavelookup[id] = Gcavelookup[f"1623-{id}"] # restoring an ambiguous alias, BAD idea.
|
||||
return True
|
||||
else:
|
||||
print(f" - Wallet {wallet} Failed to find cave object from id <{id}>")
|
||||
if id.lower() != "unknown" and id != "":
|
||||
print(f" - adding <{id}> to pendingcaves.txt list")
|
||||
print(f" - adding <{id}> to pendingcaves DataIssues")
|
||||
add_cave_to_pending_list(id, wallet, f"Wallet {wallet} - Could not find id <{id}>")
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user