2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 04:57:09 +00:00

Fix wallets scan upload faults

This commit is contained in:
Philip Sargent
2022-08-14 22:52:14 +03:00
parent b093d00ff4
commit 284e044a03
5 changed files with 80 additions and 38 deletions

View File

@@ -18,7 +18,7 @@ from troggle.core.utils import save_carefully, GetListDir
for tunnel and therion files
'''
todo='''
todo='''Rename functions more consistently between tunnel and therion variants
'''
def find_dwg_file(dwgfile, path):
@@ -104,7 +104,7 @@ def findwalletimage(therionfile, foundpath):
else:
message = f'! Scanned file {scanfilename} mentioned in "{therionfile.dwgpath}" is not actually found in {wallet.walletname}'
wurl = f'/survey_scans/{wallet.walletname}/'.replace("#",":")
print(message)
# print(message)
DataIssue.objects.create(parser='Therion', message=message, url = wurl)