correctly format messages
This commit is contained in:
parent
cbec5380f1
commit
3ec65f7a55
2 changed files with 4 additions and 3 deletions
|
|
@ -235,7 +235,7 @@ class AuMBrowser(BaseBrowser):
|
|||
except KeyError:
|
||||
new_content += c
|
||||
|
||||
content = new_content.replace('\n', '<br>').encode('Windows-1252', 'replace')
|
||||
content = new_content.replace('\n', '\r\n').encode('Windows-1252', 'replace')
|
||||
|
||||
try:
|
||||
self.api_request('message', 'new', data={'memberId': id, 'message': content})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue