Skip to content

Commit 58f80bd

Browse files
committed
Fix broken f-string
1 parent 96c3e91 commit 58f80bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lists/notifications.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def get_demo_args():
2828

2929
def get_subject(self):
3030
count = len(self.context['items'])
31-
subject = f'{count} item{pluralize(count)} added to list "{self.context['todo']}"!'
31+
todo = self.context['todo']
32+
subject = f'{count} item{pluralize(count)} added to list "{todo}"!'
3233
return subject
3334

3435
registry.register(DigestEmail)

0 commit comments

Comments
 (0)