forked from expo/troggle
ruff removed unused imports
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user