summaryrefslogtreecommitdiffstats
path: root/module/FileDatabase.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r--module/FileDatabase.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py
index 2d3e0aa86..012dd8383 100644
--- a/module/FileDatabase.py
+++ b/module/FileDatabase.py
@@ -371,6 +371,9 @@ class FileHandler:
self.restartFile(pyfile.id)
self.db.restartPackage(id)
+
+ if self.packageCache.has_key(id):
+ self.packageCache[id].setFinished = False
e = UpdateEvent("pack", id, "collector" if not self.getPackage(id).queue else "queue")
self.core.pullManager.addEvent(e)