2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-24 00:01:54 +00:00

better error message

This commit is contained in:
Philip Sargent 2024-11-23 22:07:49 +00:00
parent 2598126879
commit d3042264b3

View File

@ -2709,12 +2709,12 @@ def set_survexblocks():
pass
elif b.scanswallet:
if b.date > date(2024, 1, 1) and b.date < date(2025, 1, 1):
print(f"2024-check not set{wallet} on {b.survexfile} for block {b} as set explicitly to {b.scanswallet}")
print(f"2024-check: not set{wallet} on {b.survexfile} for block {b} as set explicitly to {b.scanswallet}")
else:
b.scanswallet = wallet
b.save()
if b.date > date(2024, 1, 1) and b.date < date(2025, 1, 1):
print(f"2024-check setting {wallet} on {b.survexfile} for block {b}")
print(f"2024-check: setting {wallet} on {b.survexfile} for block {b}")
def survexifywallets():
"""Gets the caves from the list of survexblocks