|
|
|
@ -16,16 +16,23 @@ def listPathExt(path, ext):
|
|
|
|
|
|
|
|
|
|
listPathExt(sitemPath, ".sitem")
|
|
|
|
|
|
|
|
|
|
knownMissing = {}
|
|
|
|
|
with open("missing_sheets.txt", "r") as r:
|
|
|
|
|
for l in r:
|
|
|
|
|
knownMissing[l.strip()] = True
|
|
|
|
|
|
|
|
|
|
with open("sitem_list.txt", "w") as w:
|
|
|
|
|
with open("sitem_missing.txt", "w") as wm:
|
|
|
|
|
with open("sitem_list_r2.txt", "r") as r:
|
|
|
|
|
for l in r:
|
|
|
|
|
if not l.strip() in knownMissing:
|
|
|
|
|
w.write(l)
|
|
|
|
|
if not l.strip() in fileMap:
|
|
|
|
|
wm.write(l)
|
|
|
|
|
with open("sitem_list_wk.txt", "r") as r:
|
|
|
|
|
for l in r:
|
|
|
|
|
if len(l.strip()) > 0 and not l.startswith(";"):
|
|
|
|
|
if not l.strip() in knownMissing:
|
|
|
|
|
w.write(l)
|
|
|
|
|
if not l.strip() in fileMap:
|
|
|
|
|
wm.write(l)
|
|
|
|
|