forked from expo/troggle
hack to make server reset quickly
This commit is contained in:
parent
389fb6c409
commit
5a7f197bcb
@ -739,7 +739,10 @@ class LoadingSurvex:
|
|||||||
print(f" {survexblock.survexfile=}")
|
print(f" {survexblock.survexfile=}")
|
||||||
# raise
|
# raise
|
||||||
|
|
||||||
setdate_on_survexblock(year)
|
if year:
|
||||||
|
setdate_on_survexblock(year)
|
||||||
|
else:
|
||||||
|
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
|
||||||
self.currentdate = survexblock.date
|
self.currentdate = survexblock.date
|
||||||
|
Loading…
Reference in New Issue
Block a user