mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 02:37:14 +00:00
hack fix
This commit is contained in:
@@ -1381,7 +1381,13 @@ class LoadingSurvex:
|
|||||||
survexblock.survexfile.cave.slug()
|
survexblock.survexfile.cave.slug()
|
||||||
|
|
||||||
self.fix_undated(survexblock) # null-op if already set
|
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:
|
try:
|
||||||
qm = QM.objects.create(
|
qm = QM.objects.create(
|
||||||
|
|||||||
Reference in New Issue
Block a user