mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
permit omt and sat to be used in filename
This commit is contained in:
parent
abc8fb8947
commit
a5088f063d
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ def get_installed_regions():
|
||||||
os.chdir(map_doc_root)
|
os.chdir(map_doc_root)
|
||||||
for filename in os.listdir('.'):
|
for filename in os.listdir('.'):
|
||||||
if fnmatch.fnmatch(filename, '??-osm-omt*'):
|
if fnmatch.fnmatch(filename, '??-osm-omt*'):
|
||||||
region = re.sub(r'^..-osm-omt_(.*)',r'\1',filename)
|
region = re.sub(r'^..-osm-..._(.*)',r'\1',filename)
|
||||||
installed.append(region)
|
installed.append(region)
|
||||||
# add the splash page if no other maps are present
|
# add the splash page if no other maps are present
|
||||||
if len(installed) == 0:
|
if len(installed) == 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue