[tor-dev] [PATCH] Tor Weather: Switched preferences and unsubscribes URLs.

Ondrej Novy novy at ondrej.org
Mon Dec 1 17:20:08 UTC 2014


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

--
1.9.3 (Apple Git-50)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20141201/c9821efe/attachment.html>


More information about the tor-dev mailing list