mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
skip unknown map regions
This commit is contained in:
parent
43a245e3d8
commit
b98e23eeed
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ def main():
|
|||
if len(installed_maps) == 1:
|
||||
menus.update_menu_json(menu_ref)
|
||||
return
|
||||
elif region not in map_catalog['regions']:
|
||||
print "Skipping unknown map " + fname
|
||||
continue
|
||||
else:
|
||||
item = map_catalog['regions'][region]
|
||||
menu_ref = item['perma_ref']
|
||||
|
|
Loading…
Reference in a new issue