From fd1914037941f45ad08f964fe08dab5d03ca1525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Wed, 16 Oct 2019 10:23:47 +0200 Subject: [PATCH] fix entry -> entry.name --- dudlebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dudlebot.py b/dudlebot.py index 082a8a7..113f7d3 100644 --- a/dudlebot.py +++ b/dudlebot.py @@ -140,7 +140,7 @@ class DudleBot: formatted_plan += f"{str(response)} " formatted_plan += entry.name if len(entry.name) < self.LINE_LIMIT \ - else entry[:self.LINE_LIMIT - 2] + "…" + else entry.name[:self.LINE_LIMIT - 2] + "…" formatted_plan += "\n" formatted_plan += "```"