From ebad99d0495f5eabc6a492d9fe3e52a1d96104a6 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 30 Aug 2020 01:56:24 +0200 Subject: [PATCH] display links in the diario entries --- royalpack/tables/diario.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/tables/diario.py b/royalpack/tables/diario.py index fcd5166a..3097bc35 100644 --- a/royalpack/tables/diario.py +++ b/royalpack/tables/diario.py @@ -83,7 +83,7 @@ class Diario: f" spoiler={self.spoiler}>" def __str__(self): - text = f"Riga #{self.diario_id} (salvata" + text = f"[url=https://ryg.steffo.eu/#/d/{self.diario_id}]/d/{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"