forked from varia/bots
remove bleach... it's a shame to make unreadable html docs
This commit is contained in:
parent
2d0391c5e5
commit
9b49dbea79
@ -132,7 +132,7 @@ class Logbot(Bot):
|
||||
new_key = str(int(keys[-1]) + 1)
|
||||
if media_post:
|
||||
self.db[message.room]["messages"][new_key] = {}
|
||||
self.db[message.room]["messages"][new_key]['post'] = bleach.clean(media_post)
|
||||
self.db[message.room]["messages"][new_key]['post'] = media_post
|
||||
self.db[message.room]["messages"][new_key]['date'] = date
|
||||
self.db[message.room]["messages"][new_key]['media'] = {}
|
||||
self.db[message.room]["messages"][new_key]['media']['type'] = media_type
|
||||
@ -142,7 +142,7 @@ class Logbot(Bot):
|
||||
post = message.content.replace("@add ", "")
|
||||
post = self._href_wrap(post)
|
||||
self.db[message.room]["messages"][new_key] = {}
|
||||
self.db[message.room]["messages"][new_key]['post'] = bleach.clean(post)
|
||||
self.db[message.room]["messages"][new_key]['post'] = post
|
||||
self.db[message.room]["messages"][new_key]['date'] = date
|
||||
self.db._dumps()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user