Fix consumable text

This commit is contained in:
Gabriel Augendre 2019-06-25 10:43:51 +02:00 committed by GitHub
parent bc3d9d8460
commit 0ea36940fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ class Book(BaseModel):
@property
def consumable_text(self):
if self.previously_acquired:
if self.consumable:
return 'Oui'
else:
return 'Non'