mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
Fix bug
This commit is contained in:
parent
36750480fb
commit
203408f4c2
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -1 +1 @@
|
|||
semantic = "1.0.1"
|
||||
semantic = "1.0.2"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue