hack to make server reset quickly

This commit is contained in:
Expo laptop Crowley 2023-07-10 09:24:11 +02:00
parent 389fb6c409
commit 5a7f197bcb

View File

@ -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