Fix path to NTBP regexp pattern

This commit is contained in:
D. Berge
2020-09-01 10:59:29 +02:00
parent eded667d79
commit 1fc069a0bd
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ if __name__ == '__main__':
rx = re.compile(pattern["regex"])
if "ntbp" in survey["raw"]:
ntbpRx = re.compile(survey["raw"]["ntbp"])
ntbpRx = re.compile(survey["raw"]["ntbp"]["pattern"]["regex"])
for fileprefix in raw_p111["paths"]:
print(f"Path prefix: {fileprefix}")

View File

@@ -41,7 +41,7 @@ if __name__ == '__main__':
rx = re.compile(pattern["regex"])
if "ntbp" in survey["raw"]:
ntbpRx = re.compile(survey["raw"]["ntbp"])
ntbpRx = re.compile(survey["raw"]["ntbp"]["pattern"]["regex"])
for fileprefix in raw_p190["paths"]:
print(f"Path prefix: {fileprefix}")