diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-14 14:26:29 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-14 14:26:29 +0100 |
commit | e811e55a8e8e451c6fc7b723f26a6351f997a14e (patch) | |
tree | 026b350bd54b40aa73ec115ff9b83800351e1a8d /module/database | |
parent | little SO fix (diff) | |
download | pyload-e811e55a8e8e451c6fc7b723f26a6351f997a14e.tar.xz |
some parts of cli working again
Diffstat (limited to 'module/database')
-rw-r--r-- | module/database/FileDatabase.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/database/FileDatabase.py b/module/database/FileDatabase.py index 66dfd3c6c..c539bcaf6 100644 --- a/module/database/FileDatabase.py +++ b/module/database/FileDatabase.py @@ -184,11 +184,10 @@ class FileHandler: """deletes links""" f = self.getFile(id) - pid = f.packageid - if not f: return None - + + pid = f.packageid e = RemoveEvent("file", id, "collector" if not f.package().queue else "queue") |