We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c3e91 commit 58f80bdCopy full SHA for 58f80bd
lists/notifications.py
@@ -28,7 +28,8 @@ def get_demo_args():
28
29
def get_subject(self):
30
count = len(self.context['items'])
31
- subject = f'{count} item{pluralize(count)} added to list "{self.context['todo']}"!'
+ todo = self.context['todo']
32
+ subject = f'{count} item{pluralize(count)} added to list "{todo}"!'
33
return subject
34
35
registry.register(DigestEmail)
0 commit comments