1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00
This commit is contained in:
Steffo 2019-12-25 13:22:27 +01:00
parent 36750480fb
commit 203408f4c2
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ class XmasGift:
return Column(Boolean, nullable=False, default=False)
def __str__(self):
msg = f"Regalo #{self.gift_id} da {self.source} a {self.destination}" + f": {self.extra_text}" if self.extra_text else ""
msg = f"Regalo #{self.gift_id} da {self.source} a {self.destination}" + (f": {self.extra_text}" if self.extra_text else "")
if self.drawn:
return f"⚫️ {msg}"
else:

View file

@ -1 +1 @@
semantic = "1.0.1"
semantic = "1.0.2"

View file

@ -3,7 +3,7 @@
[tool.poetry]
name = "giftpack"
description = "A pack for the gift drawing at the Xmas 2019 family lunch"
version = "1.0.1"
version = "1.0.2"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+"
homepage = "https://github.com/Steffo99/giftpack"