def _clean_cache(self):
c = self._conn.cursor()
- c.execute("DELETE FROM cache WHERE access_time<?", (int(time.time()) - 604800))
+ c.execute("DELETE FROM cache WHERE access_time<?", (int(time.time()) - 604800,))
self._conn.commit()
def _create_db(self):