From bf8b8dbdebaf4ee41a687cdcf958bc20a4a53926 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 11 Aug 2010 23:37:33 +0200 Subject: ShareonlineBiz free+premium, DDLMusicOrg working, SerienjunkiesOrg fix, FileDatabase fix, other fixes --- module/FileDatabase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/FileDatabase.py') diff --git a/module/FileDatabase.py b/module/FileDatabase.py index c89656407..127a2cef4 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -259,7 +259,7 @@ class FileHandler: if self.cache.has_key(id): return self.cache[id].toDbDict() - return self.db.getLinkData() + return self.db.getLinkData(id) #---------------------------------------------------------------------- def getFile(self, id): @@ -659,8 +659,8 @@ class FileDatabaseBackend(Thread): } return data - - + + @queue def getLinkData(self, id): """get link information as dict""" self.c.execute('SELECT id,url,name,size,status,error,plugin,package,linkorder FROM links WHERE id=?', (str(id),)) @@ -1089,4 +1089,4 @@ if __name__ == "__main__": e = time() - print "complete data", e-d \ No newline at end of file + print "complete data", e-d -- cgit v1.2.3