handle incorrect hash

This commit is contained in:
2019-10-31 12:53:53 +02:00
parent b26dbf3216
commit b8bffcc587
2 changed files with 3 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ def expire_database_create():
file text NOT NULL,
expires integer NOT NULL
);""")
# Clear out expired items
cursor.execute("DELETE FROM expiring WHERE expires < ?",
(
time.time(),