2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 09:27:09 +00:00

python 3.12 discovered syntax issues

This commit is contained in:
2023-11-23 18:46:44 +00:00
parent 521fd20e37
commit 8fd09bef92
6 changed files with 8 additions and 8 deletions

View File

@@ -2428,9 +2428,9 @@ def FindAndLoadSurvex():
ff = survexblock.survexfile
if comment:
# print(f"FIX {survexblock} {altitude} {comment}")
if re.match("(?i)[^s]*srtm[\s\S]*", comment.lower()):
if re.match(r"(?i)[^s]*srtm[\s\S]*", comment.lower()):
print(f"SRTM {ff}.svx::{survexblock} - {spath}.svx - alt={altitude} '{comment}'")
if re.match("(?i)[^s]*radost[\s\S]*", comment.lower()):
if re.match(r"(?i)[^s]*radost[\s\S]*", comment.lower()):
print(f"RDST {ff}.svx::{survexblock} - {spath}.svx - alt={altitude} '{comment}'")
svx_load = None