tunnelfile.scans name change for compatibility

This commit is contained in:
Philip Sargent
2020-06-24 00:36:32 +01:00
parent c91aa4be47
commit d6c4ffca5a
3 changed files with 4 additions and 4 deletions

View File

@@ -135,7 +135,7 @@ def FindTunnelScan(tunnelfile, path):
if scansfolder:
tunnelfile.manyscansfolders.add(scansfolder)
if scansfile:
tunnelfile.survexscans.add(scansfile)
tunnelfile.scans.add(scansfile)
elif path and not re.search(rb"\.(?:png|jpg|pdf|jpeg)$(?i)", path):
name = os.path.split(path)[1]