forked from expo/troggle
hack fix
This commit is contained in:
parent
d0ccc46260
commit
b3e2f34960
@ -1381,7 +1381,13 @@ class LoadingSurvex:
|
||||
survexblock.survexfile.cave.slug()
|
||||
|
||||
self.fix_undated(survexblock) # null-op if already set
|
||||
expoyear = str(survexblock.date.year)
|
||||
try:
|
||||
expoyear = str(survexblock.date.year)
|
||||
except NameError:
|
||||
print(">> why is survexblock.date.year not set ?! in LoadSurvexQM()/n {survexblock.survexfile.path}")
|
||||
expoyear = "1970"
|
||||
|
||||
|
||||
|
||||
try:
|
||||
qm = QM.objects.create(
|
||||
|
Loading…
Reference in New Issue
Block a user