diff options
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r-- | module/FileDatabase.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py index 9064d5a03..4f1c1a541 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -183,6 +183,10 @@ class FileHandler: """delete package and all contained links""" p = self.getPackage(id) + + if not p: + return + e = RemoveEvent("pack", id, "collector" if not p.queue else "queue") pyfiles = self.cache.values() |