diff options
Diffstat (limited to 'parsers/scans.py')
-rw-r--r-- | parsers/scans.py | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/parsers/scans.py b/parsers/scans.py index cc54633..d3fb9ab 100644 --- a/parsers/scans.py +++ b/parsers/scans.py @@ -1,21 +1,9 @@ -import csv import datetime -import filecmp -import os -import re -import shutil -import stat -import subprocess -import sys -import types -from functools import reduce from pathlib import Path import settings -from troggle.core.models.survex import DrawingFile, SingleScan, Wallet +from troggle.core.models.survex import SingleScan, Wallet from troggle.core.models.troggle import DataIssue -from troggle.core.utils import save_carefully -from troggle.core.views.scans import datewallet """Searches through all the survey scans directories (wallets) in expofiles, looking for images to be referenced. """ @@ -138,7 +126,7 @@ def load_all_scans(): # but we also need to check if JSON exists, even if there are no uploaded scan files. # Here we know there is a rigid folder structure, so no need to look for sub folders - print(f"\n - Checking for wallets where JSON exists, but there may be no uploaded scan files:") + print("\n - Checking for wallets where JSON exists, but there may be no uploaded scan files:") print(" ", end="") wjson = 0 contents_path = Path(settings.DRAWINGS_DATA, "walletjson") |