FIX:(#1721) Fix for Clear History returning a syntax error when clearing entire snatch history

This commit is contained in:
evilhero 2017-09-20 17:28:40 -04:00
parent 6294bb7476
commit 2420a33dd6
1 changed files with 1 additions and 1 deletions

View File

@ -3367,7 +3367,7 @@ class WebInterface(object):
myDB = db.DBConnection()
if type == 'all':
logger.info(u"Clearing all history")
myDB.action('DELETE * from snatched')
myDB.action('DELETE from snatched')
else:
logger.info(u"Clearing history where status is %s" % type)
myDB.action('DELETE from snatched WHERE Status=?', [type])