mirror of
https://github.com/tumic0/GPXSee-maps.git
synced 2024-11-24 11:45:53 +01:00
Sort the maps at least partialy according to the file names
This commit is contained in:
parent
6c7423d37d
commit
a255e47756
@ -299,6 +299,7 @@ def processmaps(maps, htmlfile):
|
|||||||
htmlfile.write("<table>\n<tr>\n")
|
htmlfile.write("<table>\n<tr>\n")
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
|
maps.sort()
|
||||||
for xmlfile in maps:
|
for xmlfile in maps:
|
||||||
shutil.copyfile(xmlfile, "../maps/" + os.path.basename(xmlfile))
|
shutil.copyfile(xmlfile, "../maps/" + os.path.basename(xmlfile))
|
||||||
info = mapinfo(xmlfile)
|
info = mapinfo(xmlfile)
|
||||||
|
Loading…
Reference in New Issue
Block a user