From a2ad90f2b90e94b520eeb4e732ba5c57e6787eef Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 30 Jun 2018 22:38:57 -0500 Subject: [PATCH] fixed invalid conn commit --- onionr/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/core.py b/onionr/core.py index fe1147b7..48042c2b 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -384,8 +384,8 @@ class Core: else: if retData != False: c.execute('DELETE FROM commands WHERE id=?;', (retData[3],)) - conn.commit() - conn.close() + conn.commit() + conn.close() events.event('queue_pop', data = {'data': retData}, onionr = None)