From 7a6be9df1e37cf4930ed7916af6f65ee9e31cf0b Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 28 Feb 2009 02:18:12 +0000 Subject: [PATCH] Fix #817 email notifications fail to substitute format strings --- deluge/ui/gtkui/notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/notification.py b/deluge/ui/gtkui/notification.py index ffc709c1b..8eda84ec7 100644 --- a/deluge/ui/gtkui/notification.py +++ b/deluge/ui/gtkui/notification.py @@ -95,7 +95,7 @@ class Notification: "Finished torrent %s" % (status["name"])) text = _("This email is to inform you that Deluge has finished downloading %s , \ which includes %i files.\nTo stop receiving these alerts, simply turn off \ - email notification in Deluge's preferences.\n\nThank you,\nDeluge") + email notification in Deluge's preferences.\n\nThank you,\nDeluge") % (status["name"], status["num_files"]) message = headers + text if self.config["ntf_security"] == 'SSL': port = 465