mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
Fix notification email sending bug
This commit is contained in:
@@ -23,8 +23,8 @@ site_name = settings.SITE_NAME
|
||||
subject = u'%s:新消息' % site_name
|
||||
|
||||
site_base = settings.SITE_BASE
|
||||
if site_base[-1] != '/':
|
||||
site_base += '/'
|
||||
if site_base[-1] == '/':
|
||||
site_base = site_base[:-1]
|
||||
site_root = settings.SITE_ROOT
|
||||
if site_root[-1] != '/':
|
||||
site_root += '/'
|
||||
|
Reference in New Issue
Block a user