Fix #817 email notifications fail to substitute format strings

This commit is contained in:
Andrew Resch 2009-02-28 02:18:12 +00:00
parent e287e3ec33
commit 7a6be9df1e
1 changed files with 1 additions and 1 deletions

View File

@ -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