diff options
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r-- | module/FileDatabase.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |