migrate.py: Set hkid TO WLNO
This commit is contained in:
@ -480,6 +480,9 @@ def lookup_hkid(kgnr: Optional[int], qualid: str) -> str:
|
||||
hkid = 'WLXX'
|
||||
elif hkid[:2] in ('WL', 'BL', 'SL'):
|
||||
hkid = hkid[:2] + 'XX'
|
||||
else:
|
||||
if hkid.startswith('WL') and not hkid.endswith('XX'):
|
||||
hkid = 'WLNO'
|
||||
return hkid
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user