1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

Testo migliore

This commit is contained in:
Steffo 2020-08-30 01:56:43 +02:00
parent ebad99d049
commit b3ed8954e6

View file

@ -83,7 +83,7 @@ class Diario:
f" spoiler={self.spoiler}>"
def __str__(self):
text = f"[url=https://ryg.steffo.eu/#/d/{self.diario_id}]/d/{self.diario_id}[/url] (creata"
text = f"[url=https://ryg.steffo.eu/#/d/{self.diario_id}]Riga #{self.diario_id}[/url] (creata"
if self.creator is not None:
text += f" da {str(self.creator)}"
text += f" il {self.timestamp.strftime('%Y-%m-%d %H:%M')}):\n"