From 65b3d67b1279135189de43fa64d1b47e47166db8 Mon Sep 17 00:00:00 2001 From: TheLabRatt Date: Thu, 9 Oct 2014 06:37:25 +0100 Subject: [PATCH] Tidy up listLibary --- mylar/helpers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mylar/helpers.py b/mylar/helpers.py index b3dc895e..2ec49644 100755 --- a/mylar/helpers.py +++ b/mylar/helpers.py @@ -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