mirror of
https://github.com/evilhero/mylar
synced 2025-03-09 21:33:42 +00:00
Tidy up listLibary
This commit is contained in:
parent
5bfe348e72
commit
65b3d67b12
1 changed files with 1 additions and 3 deletions
|
@ -1440,16 +1440,14 @@ def listLibrary():
|
|||
import db
|
||||
library = {}
|
||||
myDB = db.DBConnection()
|
||||
# # Get individual comics
|
||||
# Get individual comics
|
||||
list = myDB.select("SELECT ComicId FROM Comics")
|
||||
for row in list:
|
||||
library[row['ComicID']] = row['ComicID']
|
||||
# library.append(row['ComicId'])
|
||||
# Add the annuals
|
||||
list = myDB.select("SELECT ReleaseComicId,ComicID FROM Annuals")
|
||||
for row in list:
|
||||
library[row['ReleaseComicId']] = row['ComicID']
|
||||
# library.append(row['ReleaseComicId'])
|
||||
return library
|
||||
|
||||
from threading import Thread
|
||||
|
|
Loading…
Add table
Reference in a new issue