mirror of https://github.com/evilhero/mylar
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:
parent
ba005073ab
commit
f62f937b4a
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue