Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-01-16 02:55:03 +00:00
parent 615d19feb2
commit b34ecda5dd

View file

@ -92,7 +92,7 @@ try:
tiles = []
with open(lfile) as f:
for line in f:
match = re.match(r"[ew]\d{3}[ns]\d{2}/[ew]\d{3}[ns]\d{2}*.\.stg'", line)
match = re.match(r".*[ew]\d{3}[ns]\d{2}/([ew]\d{3}[ns]\d{2}).*\.stg", line)
if match != None:
tiles.append(match.group(1))
except IOError: