summaryrefslogtreecommitdiffstats
path: root/pyload/FileManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-01 21:06:17 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-01 21:06:17 +0100
commitfdb98aba01a9cbf415526d796a24d372fd00419a (patch)
treeda9c9c3138d727bc282ca2db618dc4b56ec62f30 /pyload/FileManager.py
parentfixed are few addons and improved crypter workarounds (diff)
downloadpyload-fdb98aba01a9cbf415526d796a24d372fd00419a.tar.xz
fixed cnl, packages now pausable
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)