summaryrefslogtreecommitdiffstats
path: root/core/models/wallets.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-08-07 23:51:35 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-08-07 23:51:35 +0300
commit0b7a9cf03e2c9787388ea3847ab74bb438b02cde (patch)
tree7752a4f8d139c53c035874dd2de5b88b5a64667d /core/models/wallets.py
parenteec04266120db7564f4d3803922f7df0012d9e52 (diff)
downloadtroggle-0b7a9cf03e2c9787388ea3847ab74bb438b02cde.tar.gz
troggle-0b7a9cf03e2c9787388ea3847ab74bb438b02cde.tar.bz2
troggle-0b7a9cf03e2c9787388ea3847ab74bb438b02cde.zip
suppress pointless msg
Diffstat (limited to 'core/models/wallets.py')
-rw-r--r--core/models/wallets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/models/wallets.py b/core/models/wallets.py
index 1bff911..e0f4b00 100644
--- a/core/models/wallets.py
+++ b/core/models/wallets.py
@@ -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):