diff options
| author | 2010-08-13 13:13:44 +0200 | |
|---|---|---|
| committer | 2010-08-13 13:13:44 +0200 | |
| commit | 8851a45a84576f59796361734ca86fd3344c573c (patch) | |
| tree | 07094546739664359d2e6e2bd2acb748626f07cb /module/FileDatabase.py | |
| parent | Merge (diff) | |
| parent | recaptcha + new crypter lof.cc (diff) | |
| download | pyload-8851a45a84576f59796361734ca86fd3344c573c.tar.xz | |
merge
Diffstat (limited to 'module/FileDatabase.py')
| -rw-r--r-- | module/FileDatabase.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py index 4757831e7..1c2667732 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -670,6 +670,8 @@ class FileDatabaseBackend(Thread): self.c.execute('SELECT id,url,name,size,status,error,plugin,package,linkorder FROM links WHERE id=?', (str(id), )) data = {} r = self.c.fetchone() + if not r: + return None data[str(r[0])] = { 'url': r[1], 'name': r[2], |
