add time in html

This commit is contained in:
ppwwyyxx
2014-12-22 22:49:33 +08:00
parent 7e23b45294
commit 562abef35e
9 changed files with 89 additions and 41 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python2
# -*- coding: UTF-8 -*-
# File: parser.py
# Date: Mon Dec 22 21:59:26 2014 +0800
# Date: Mon Dec 22 22:14:18 2014 +0800
# Author: Yuxin Wu <[email protected]>
import sqlite3
@@ -76,7 +76,7 @@ SELECT {} FROM message
imginfo_q = self.cc.execute("""SELECT msgSvrId, bigImgPath FROM ImgInfo2""")
self.imginfo = {k: v for (k, v) in imginfo_q
if not v.startswith('SERVERID://')}
logger.info("Found {} big images records.".format(len(self.imginfo)))
logger.info("Found {} hd image records.".format(len(self.imginfo)))
def _find_msg_by_type(self, msgs=None):
ret = []
@@ -103,7 +103,6 @@ SELECT {} FROM message
if catalog not in NEEDED_EMOJI_CATALOG:
continue
self.internal_emojis[md5] = name
print self.internal_emojis
def parse(self):