fix entry -> entry.name

This commit is contained in:
Tomáš Mládek 2019-10-16 10:23:47 +02:00
parent 79f014ab69
commit fd19140379

View file

@ -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 += "```"