summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-15 11:34:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-15 11:34:38 +0200
commita02dd3b213bcb0c8aff84dc0b2462ce21ed2cc6a (patch)
tree03a2245a03ebee111fd9df61f95abd5890397dac /module/database
parentrs fix (diff)
downloadpyload-a02dd3b213bcb0c8aff84dc0b2462ce21ed2cc6a.tar.xz
updated thrift, --clean method, youtube fix closed #379
Diffstat (limited to 'module/database')
-rw-r--r--module/database/FileDatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/database/FileDatabase.py b/module/database/FileDatabase.py
index d93fa6da4..19205dac6 100644
--- a/module/database/FileDatabase.py
+++ b/module/database/FileDatabase.py
@@ -750,7 +750,7 @@ class FileMethods():
@style.queue
def updateLinkInfo(self, data):
""" data is list of tupels (name, size, status, url) """
- self.c.executemany('UPDATE links SET name=?, size=?, status=? WHERE url=? AND status NOT IN (0,8,12,13)', data)
+ self.c.executemany('UPDATE links SET name=?, size=?, status=? WHERE url=? AND status IN (1,2,3,14)', data)
ids = []
self.c.execute('SELECT id FROM links WHERE url IN (\'%s\')' % "','".join([x[3] for x in data]))
for r in self.c: