Skip to content
Browse files

fixed error msg with queuing issues via pullist / want

  • Loading branch information...
1 parent df96120 commit a7f766f3185be1693c602e31e0de5e16d90bdfc8 @evilhero committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mylar/webserve.py
View
2 mylar/webserve.py
@@ -197,6 +197,7 @@ def addArtists(self, **args):
addArtists.exposed = True
def queueissue(self, ComicName, mode, ComicID=None, ComicYear=None, ComicIssue=None, IssueID=None, new=False, redirect=None):
+ myDB = db.DBConnection()
#mode dictates type of queue - either 'want' for individual comics, or 'series' for series watchlist.
if ComicID is None and mode == 'series':
#print (ComicName)
@@ -223,7 +224,6 @@ def queueissue(self, ComicName, mode, ComicID=None, ComicYear=None, ComicIssue=N
#---
#this should be on it's own somewhere
if IssueID is not None:
- myDB = db.DBConnection()
controlValueDict = {"IssueID": IssueID}
newStatus = {"Status": "Wanted"}
myDB.upsert("issues", newStatus, controlValueDict)

0 comments on commit a7f766f

Please sign in to comment.
Something went wrong with that request. Please try again.