This commit is contained in:
Ad Schellevis 2017-04-02 19:42:16 +02:00
parent 83488b6710
commit 5f17abb3fa

View File

@ -170,6 +170,7 @@ class RuleCache(object):
os.remove(self.cachefile)
db = sqlite3.connect(self.cachefile)
db.text_factory = lambda x: unicode(x, 'utf-8', 'ignore')
cur = db.cursor()
cur.execute("create table stats (timestamp number, files number)")