Commit 46a0d475a94545f06d3fd60e71a190baf22f2e8b
1 parent
11f37eda
Added MAILMANAPI_URL ending slash to settings
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
colab/accounts/utils/mailman.py
... | ... | @@ -13,7 +13,7 @@ LOGGER = logging.getLogger('colab.mailman') |
13 | 13 | |
14 | 14 | def get_url(listname=None): |
15 | 15 | if listname: |
16 | - return urlparse.urljoin(settings.MAILMAN_API_URL, '/' + listname) | |
16 | + return urlparse.urljoin(settings.MAILMAN_API_URL, listname) | |
17 | 17 | |
18 | 18 | return settings.MAILMAN_API_URL |
19 | 19 | ... | ... |
colab/settings.py
... | ... | @@ -233,7 +233,7 @@ SUPER_ARCHIVES_EXCLUDE = [] |
233 | 233 | SUPER_ARCHIVES_LOCK_FILE = '/var/lock/colab/import_emails.lock' |
234 | 234 | |
235 | 235 | # Mailman API settings |
236 | -MAILMAN_API_URL = 'http://localhost:8124' | |
236 | +MAILMAN_API_URL = 'http://localhost:8124/v2/' | |
237 | 237 | |
238 | 238 | LOGIN_URL = '/user/login' |
239 | 239 | LOGIN_REDIRECT_URL = '/' | ... | ... |