2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +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=} ") print(f"! - Fail, tried to decompose date in yyyy-mm-d or yyy-m-dd format but failed: {datestr=} ")
return None 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 return None
class Wallet(models.Model): class Wallet(models.Model):