add Render

This commit is contained in:
ppwwyyxx
2014-11-22 22:30:10 +08:00
parent d3c20d3490
commit 9a509ab2d8
5 changed files with 5855 additions and 10 deletions
+1 -5
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python2
# -*- coding: UTF-8 -*-
# File: Msg.py
# Date: Sat Nov 22 20:58:01 2014 +0800
# Date: Sat Nov 22 22:28:15 2014 +0800
# Author: Yuxin Wu <[email protected]>
from datetime import datetime
@@ -38,10 +38,6 @@ class WeChatMsg(object):
if self.content:
self.content = ensure_unicode(self.content)
def msg_html(self, res):
# TODO
assert res is not None
def msg_str(self):
# TODO: fix more types
if self.type == TYPE_LOCATION: