Sqlite secure delete

Fixes #102
This commit is contained in:
mailchuck 2015-11-09 17:21:47 +01:00
parent e5d6da2ec1
commit 33b95db55b
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

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(