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)
|
return Column(Boolean, nullable=False, default=False)
|
||||||
|
|
||||||
def __str__(self):
|
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:
|
if self.drawn:
|
||||||
return f"⚫️ {msg}"
|
return f"⚫️ {msg}"
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "1.0.1"
|
semantic = "1.0.2"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "giftpack"
|
name = "giftpack"
|
||||||
description = "A pack for the gift drawing at the Xmas 2019 family lunch"
|
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>"]
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||||
license = "AGPL-3.0+"
|
license = "AGPL-3.0+"
|
||||||
homepage = "https://github.com/Steffo99/giftpack"
|
homepage = "https://github.com/Steffo99/giftpack"
|
||||||
|
|
Loading…
Reference in a new issue