X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-shop-bot.git/blobdiff_plain/44aeafcae0412bda006a516f3e7e16123973cecc..9a3fc5611380afecf34b8645eff996b7bf39d468:/matrix_shop_bot/db.py diff --git a/matrix_shop_bot/db.py b/matrix_shop_bot/db.py index cacac97..60339ee 100644 --- a/matrix_shop_bot/db.py +++ b/matrix_shop_bot/db.py @@ -67,7 +67,7 @@ class PurchaseRecord(SQLModel, table=True): purchase_date: dt | None = Field(default=None) def __str__(self): date = self.purchase_date.strftime(DATE_FORMAT) - return f'{self.name} at {self.store} on {date}' + return f'Bought {self.name} at {self.store} on {date}' def _get_with_id(cls, item_id): return select(cls).where(cls.id == item_id)