mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 11:27:38 +00:00
reanme manyscansfolders to manywallets
This commit is contained in:
@@ -89,11 +89,11 @@ def LoadListScans():
|
||||
print(' - deleting all scansFolder and scansSingle objects')
|
||||
|
||||
# first do the smkhs (large kh survey scans) directory
|
||||
manyscansfoldersmkhs = Wallet(fpath=os.path.join(settings.SURVEY_SCANS, "../surveys/smkhs"), walletname="smkhs")
|
||||
manywallets_smkhs = Wallet(fpath=os.path.join(settings.SURVEY_SCANS, "../surveys/smkhs"), walletname="smkhs")
|
||||
print("smkhs", end=' ')
|
||||
if os.path.isdir(manyscansfoldersmkhs.fpath):
|
||||
manyscansfoldersmkhs.save()
|
||||
LoadListScansFile(manyscansfoldersmkhs)
|
||||
if os.path.isdir(manywallets_smkhs.fpath):
|
||||
manywallets_smkhs.save()
|
||||
LoadListScansFile(manywallets_smkhs)
|
||||
|
||||
|
||||
# iterate into the surveyscans directory
|
||||
@@ -144,7 +144,7 @@ def find_tunnel_scan(dwgfile, path):
|
||||
scansfile = scansfilel[0]
|
||||
|
||||
if scansfolder:
|
||||
dwgfile.manyscansfolders.add(scansfolder)
|
||||
dwgfile.manywallets.add(scansfolder)
|
||||
if scansfile:
|
||||
dwgfile.scans.add(scansfile)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user