[tor-commits] [weather/master] Fixed mixed up preference and unsub URL
kaner at torproject.org
kaner at torproject.org
Sun Jun 28 21:00:14 UTC 2015
commit e8ea27a10c59a4b7cbdcd61a7c30f5ee327ab7bd
Author: Christian Fromme <kaner at strace.org>
Date: Sun Jun 28 22:58:45 2015 +0200
Fixed mixed up preference and unsub URL
---
weather/weatherapp/emails.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/weather/weatherapp/emails.py b/weather/weatherapp/emails.py
index 2b5a0f5..cc298c9 100644
--- a/weather/weatherapp/emails.py
+++ b/weather/weatherapp/emails.py
@@ -179,7 +179,7 @@ def _add_generic_footer(msg, unsubs_auth, pref_auth):
unsubURL = url_helper.get_unsubscribe_url(unsubs_auth)
prefURL = url_helper.get_preferences_url(pref_auth)
- footer = _GENERIC_FOOTER % (unsubURL, prefURL)
+ footer = _GENERIC_FOOTER % (prefURL, unsubURL)
return msg + footer
More information about the tor-commits
mailing list