mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-18 16:18:45 +00:00
Fix #817 email notifications fail to substitute format strings
This commit is contained in:
parent
4965a903ac
commit
f598101ee8
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
* Fix saving file priorities when switching torrents in the addtorrentdialog
|
* Fix saving file priorities when switching torrents in the addtorrentdialog
|
||||||
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
||||||
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
|
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
|
||||||
|
* Fix #817 email notifications fail to substitute format strings
|
||||||
|
|
||||||
=== Deluge 1.1.3 - (15 February 2009) ===
|
=== Deluge 1.1.3 - (15 February 2009) ===
|
||||||
==== Core ====
|
==== Core ====
|
||||||
|
|
|
@ -95,7 +95,7 @@ class Notification:
|
||||||
"Finished torrent %s" % (status["name"]))
|
"Finished torrent %s" % (status["name"]))
|
||||||
text = _("This email is to inform you that Deluge has finished downloading %s , \
|
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 \
|
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
|
message = headers + text
|
||||||
if self.config["ntf_security"] == 'SSL':
|
if self.config["ntf_security"] == 'SSL':
|
||||||
port = 465
|
port = 465
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue