mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 07:28:45 +00:00
Fixed weird QM issues, all working
This commit is contained in:
@@ -83,6 +83,7 @@ def parseCaveQMs(cave, inputFile, ticked=False):
|
||||
QMnum = re.match(r".*?-\d*?-X?(?P<numb>\d*)", line[0]).group("numb")
|
||||
newQM = QM() # creates python object, does not touch db yet
|
||||
# newQM.found_by=placeholder
|
||||
newQM.loaded_from_csv = True
|
||||
newQM.number = QMnum
|
||||
newQM.cave = caveid
|
||||
newQM.expoyear = year
|
||||
@@ -181,7 +182,8 @@ def parse_KH_QMs(kh, inputFile, ticked):
|
||||
"cave": kh,
|
||||
"grade": res["grade"],
|
||||
}
|
||||
otherAttribs = {
|
||||
otherAttribs = {
|
||||
"loaded_from_csv": True,
|
||||
"ticked": ticked,
|
||||
"page_ref": "",
|
||||
"completion_description": completion,
|
||||
|
||||
Reference in New Issue
Block a user