From 0ea36940fd7665161f3e6cfcd12e46b0d01666ac Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 25 Jun 2019 10:43:51 +0200 Subject: [PATCH] Fix consumable text --- manuels/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manuels/models.py b/manuels/models.py index 139a670..c45c8ca 100644 --- a/manuels/models.py +++ b/manuels/models.py @@ -203,7 +203,7 @@ class Book(BaseModel): @property def consumable_text(self): - if self.previously_acquired: + if self.consumable: return 'Oui' else: return 'Non'