allowing non ascii in workout comments
This commit is contained in:
@@ -1738,6 +1738,8 @@ def handle_sendemailnewresponse(first_name, last_name,
|
||||
from_email = 'Rowsandall <info@rowsandall.com>'
|
||||
subject = 'New comment on workout ' + workoutname
|
||||
|
||||
comment = u''+comment
|
||||
|
||||
siteurl = SITE_URL
|
||||
if debug:
|
||||
siteurl = SITE_URL_DEV
|
||||
@@ -1775,6 +1777,8 @@ def handle_sendemailnewcomment(first_name,
|
||||
from_email = 'Rowsandall <info@rowsandall.com>'
|
||||
subject = 'New comment on workout ' + workoutname
|
||||
|
||||
comment = u''+comment
|
||||
|
||||
siteurl = SITE_URL
|
||||
if debug:
|
||||
siteurl = SITE_URL_DEV
|
||||
|
||||
Reference in New Issue
Block a user