forked from expo/troggle
better test & msg
This commit is contained in:
parent
5a7f197bcb
commit
d0ccc46260
@ -739,9 +739,10 @@ class LoadingSurvex:
|
|||||||
print(f" {survexblock.survexfile=}")
|
print(f" {survexblock.survexfile=}")
|
||||||
# raise
|
# raise
|
||||||
|
|
||||||
if year:
|
try:
|
||||||
setdate_on_survexblock(year)
|
setdate_on_survexblock(year)
|
||||||
else:
|
except NameError:
|
||||||
|
print(">> why is year not set ?! {survexblock.survexfile.path}")
|
||||||
setdate_on_survexblock("1970")
|
setdate_on_survexblock("1970")
|
||||||
if survexblock.date:
|
if survexblock.date:
|
||||||
# do not actually need a distict variable 'currentdate' but it makes the code clearer
|
# do not actually need a distict variable 'currentdate' but it makes the code clearer
|
||||||
|
Loading…
Reference in New Issue
Block a user