diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-01-19 21:34:09 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-01-19 21:34:09 +0000 |
commit | 1be3a3892cbaeceeeea3bbcad0d3f323f5a3f630 (patch) | |
tree | e98411fd704f234e439f297b12ac4f944d3d24ac /parsers/scans.py | |
parent | 89b0c0862e588990e62fb79d43e9935efa753d8a (diff) | |
download | troggle-1be3a3892cbaeceeeea3bbcad0d3f323f5a3f630.tar.gz troggle-1be3a3892cbaeceeeea3bbcad0d3f323f5a3f630.tar.bz2 troggle-1be3a3892cbaeceeeea3bbcad0d3f323f5a3f630.zip |
ruff removed unused imports
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") |