mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1712 from tim-moody/update-maps2
skip unknown map regions
This commit is contained in:
commit
da9428090c
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…
Add table
Reference in a new issue