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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user