mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 09:26:47 +00:00
regularising _URL and _ROOT idiom
This commit is contained in:
@@ -111,7 +111,7 @@ def load_all_scans():
|
||||
DataIssue.objects.filter(parser='scans').delete()
|
||||
|
||||
# first do the smkhs (large kh survey scans) directory
|
||||
manywallets_smkhs = Wallet(fpath=os.path.join(settings.SURVEY_SCANS, "../surveys/smkhs"), walletname="smkhs")
|
||||
manywallets_smkhs = Wallet(fpath=os.path.join(settings.SCANS_ROOT, "../surveys/smkhs"), walletname="smkhs")
|
||||
print("smkhs", end=' ')
|
||||
if os.path.isdir(manywallets_smkhs.fpath):
|
||||
manywallets_smkhs.save()
|
||||
@@ -120,7 +120,7 @@ def load_all_scans():
|
||||
|
||||
# iterate into the surveyscans directory
|
||||
print(' - ', end=' ')
|
||||
for f, ff, fisdir in GetListDir(settings.SURVEY_SCANS):
|
||||
for f, ff, fisdir in GetListDir(settings.SCANS_ROOT):
|
||||
if not fisdir:
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user