summaryrefslogtreecommitdiffstats
path: root/pyload/FileManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/FileManager.py')
-rw-r--r--pyload/FileManager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/FileManager.py b/pyload/FileManager.py
index 05f665135..2aba371fe 100644
--- a/pyload/FileManager.py
+++ b/pyload/FileManager.py
@@ -374,6 +374,7 @@ class FileManager:
if pid in self.packages:
del self.packages[pid]
+ @invalidate
def updateFile(self, pyfile):
"""updates file"""
self.db.updateFile(pyfile)
@@ -381,6 +382,7 @@ class FileManager:
# This event is thrown with pyfile or only fid
self.evm.dispatchEvent("file:updated", pyfile)
+ @invalidate
def updatePackage(self, pypack):
"""updates a package"""
self.db.updatePackage(pypack)