FIX:(#1570) After initiating a Wipe NZBlog command, the nzblog table that is recreated is missing a column which will trigger an error when performing a post-processing run

This commit is contained in:
evilhero 2017-12-20 09:43:04 -05:00
parent ba005073ab
commit f62f937b4a
1 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,7 @@ class WebInterface(object):
logger.fdebug("Wiping NZBLOG in it's entirety. You should NOT be downloading while doing this or else you'll lose the log for the download.") logger.fdebug("Wiping NZBLOG in it's entirety. You should NOT be downloading while doing this or else you'll lose the log for the download.")
myDB.action('DROP table nzblog') myDB.action('DROP table nzblog')
logger.fdebug("Deleted nzblog table.") logger.fdebug("Deleted nzblog table.")
myDB.action('CREATE TABLE IF NOT EXISTS nzblog (IssueID TEXT, NZBName TEXT, SARC TEXT, PROVIDER TEXT, ID TEXT, AltNZBName TEXT)') myDB.action('CREATE TABLE IF NOT EXISTS nzblog (IssueID TEXT, NZBName TEXT, SARC TEXT, PROVIDER TEXT, ID TEXT, AltNZBName TEXT, OneOff TEXT)')
logger.fdebug("Re-created nzblog table.") logger.fdebug("Re-created nzblog table.")
raise cherrypy.HTTPRedirect("history") raise cherrypy.HTTPRedirect("history")
if IssueID: if IssueID: