summaryrefslogtreecommitdiffstats
path: root/module/FileDatabase.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r--module/FileDatabase.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py
index 37248b31a..6798eb47f 100644
--- a/module/FileDatabase.py
+++ b/module/FileDatabase.py
@@ -263,7 +263,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):
@@ -663,8 +663,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), ))
@@ -1093,4 +1093,4 @@ if __name__ == "__main__":
e = time()
- print "complete data", e-d \ No newline at end of file
+ print "complete data", e-d