From f62f937b4a78cb388c13a966f6502f10b2793ad3 Mon Sep 17 00:00:00 2001 From: evilhero Date: Wed, 20 Dec 2017 09:43:04 -0500 Subject: [PATCH] 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 --- mylar/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/webserve.py b/mylar/webserve.py index 7835e036..da7411a4 100644 --- a/mylar/webserve.py +++ b/mylar/webserve.py @@ -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.") myDB.action('DROP table nzblog') 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.") raise cherrypy.HTTPRedirect("history") if IssueID: