mirror of
https://github.com/evilhero/mylar
synced 2025-02-21 13:36:52 +00:00
Fixed directory issue with multiple-volume series, Wanted tab should now work as well
This commit is contained in:
parent
964338f0b2
commit
c791e0a2fc
1 changed files with 5 additions and 5 deletions
|
@ -157,7 +157,7 @@ class WebInterface(object):
|
||||||
'Total' : comicissues }
|
'Total' : comicissues }
|
||||||
myDB.upsert("comics", newValueDict, controlValueDict)
|
myDB.upsert("comics", newValueDict, controlValueDict)
|
||||||
threading.Thread(target=importer.GCDimport, args=[gcomicid]).start()
|
threading.Thread(target=importer.GCDimport, args=[gcomicid]).start()
|
||||||
raise cherrypy.HTTPRedirect("artistPage?ComicID=%s" % comicid)
|
raise cherrypy.HTTPRedirect("artistPage?ComicID=%s" % gcomicid)
|
||||||
GCDaddComic.exposed = True
|
GCDaddComic.exposed = True
|
||||||
|
|
||||||
def pauseArtist(self, ComicID):
|
def pauseArtist(self, ComicID):
|
||||||
|
@ -340,15 +340,15 @@ class WebInterface(object):
|
||||||
mvupcome = myDB.select("SELECT * from upcoming WHERE IssueDate < date('now') order by IssueDate DESC")
|
mvupcome = myDB.select("SELECT * from upcoming WHERE IssueDate < date('now') order by IssueDate DESC")
|
||||||
#get the issue ID's
|
#get the issue ID's
|
||||||
for mvup in mvupcome:
|
for mvup in mvupcome:
|
||||||
myissue = myDB.select("SELECT * FROM issues WHERE Issue_Number=?", [mvup['IssueNumber']])
|
myissue = myDB.action("SELECT * FROM issues WHERE Issue_Number=?", [mvup['IssueNumber']]).fetchone()
|
||||||
if myissue is None: pass
|
if myissue is None: pass
|
||||||
else:
|
else:
|
||||||
print ("ComicName: " + str(myissue['ComicName']))
|
#print ("ComicName: " + str(myissue['ComicName']))
|
||||||
print ("Issue number : " + str(myissue['Issue_Number']) )
|
#print ("Issue number : " + str(myissue['Issue_Number']) )
|
||||||
|
|
||||||
|
|
||||||
mvcontroldict = {"IssueID": myissue['IssueID']}
|
mvcontroldict = {"IssueID": myissue['IssueID']}
|
||||||
mvvalues = {"ComicID": mvupcome['ComicID'],
|
mvvalues = {"ComicID": myissue['ComicID'],
|
||||||
"Status": "Wanted"}
|
"Status": "Wanted"}
|
||||||
|
|
||||||
myDB.upsert("wanted", mvvalues, mvcontroldict)
|
myDB.upsert("wanted", mvvalues, mvcontroldict)
|
||||||
|
|
Loading…
Reference in a new issue