2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

suppress pointless msg

This commit is contained in:
Philip Sargent 2023-08-07 23:51:35 +03:00
parent eec0426612
commit 0b7a9cf03e

View File

@ -52,7 +52,8 @@ def make_valid_date(date):
print(f"! - Fail, tried to decompose date in yyyy-mm-d or yyy-m-dd format but failed: {datestr=} ")
return None
print(f"! - Failed to understand date, none of our tricks worked {datestr=} ")
if datestr: # might have been None
print(f"! - Failed to understand date, none of our tricks worked {datestr=} ")
return None
class Wallet(models.Model):