Sqlite secure delete

Fixes #102
This commit is contained in:
mailchuck 2015-11-09 17:21:47 +01:00 committed by Peter Surda
parent 12878af41f
commit e9a908aa83
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ class sqlThread(threading.Thread):
self.conn = sqlite3.connect(shared.appdata + 'messages.dat')
self.conn.text_factory = str
self.cur = self.conn.cursor()
self.cur.execute('PRAGMA secure_delete = true')
try:
self.cur.execute(