summaryrefslogtreecommitdiffstats
path: root/module/FileDatabase.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-11 23:37:33 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-11 23:37:33 +0200
commitbf8b8dbdebaf4ee41a687cdcf958bc20a4a53926 (patch)
tree9f086ee3dea2829f80348f8457d945d87c1d2361 /module/FileDatabase.py
parentfixes (diff)
downloadpyload-bf8b8dbdebaf4ee41a687cdcf958bc20a4a53926.tar.xz
ShareonlineBiz free+premium, DDLMusicOrg working, SerienjunkiesOrg fix, FileDatabase fix, other fixes
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 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