forked from expo/troggle
Allow survey scans to be scrapped with a file in the top level directory of the year
This commit is contained in:
parent
4b2d18be69
commit
d38a767d7c
@ -207,10 +207,11 @@ def LoadListScans():
|
|||||||
# do the year folders
|
# do the year folders
|
||||||
if re.match("\d\d\d\d$", f):
|
if re.match("\d\d\d\d$", f):
|
||||||
for fy, ffy, fisdiry in GetListDir(ff):
|
for fy, ffy, fisdiry in GetListDir(ff):
|
||||||
assert fisdiry, ffy
|
if fisdiry:
|
||||||
survexscansfolder = SurvexScansFolder(fpath=ffy, walletname=fy)
|
assert fisdiry, ffy
|
||||||
survexscansfolder.save()
|
survexscansfolder = SurvexScansFolder(fpath=ffy, walletname=fy)
|
||||||
LoadListScansFile(survexscansfolder)
|
survexscansfolder.save()
|
||||||
|
LoadListScansFile(survexscansfolder)
|
||||||
|
|
||||||
# do the
|
# do the
|
||||||
elif f != "thumbs":
|
elif f != "thumbs":
|
||||||
|
Loading…
Reference in New Issue
Block a user