From c1e580ec06b9065bc63ebf987d5306c03da237e0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 17 Nov 2013 14:05:40 +0100 Subject: refactored pluginManager --- pyload/api/FileApi.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'pyload/api/FileApi.py') diff --git a/pyload/api/FileApi.py b/pyload/api/FileApi.py index 2ca409165..984729b8c 100644 --- a/pyload/api/FileApi.py +++ b/pyload/api/FileApi.py @@ -74,14 +74,12 @@ class FileApi(ApiComponent): raise FileDoesNotExists(fid) return info - @RequirePerm(Permission.Download) def getFilePath(self, fid): """ Internal method to get the filepath""" info = self.getFileInfo(fid) pack = self.core.files.getPackage(info.package) return pack.getPath(), info.name - @RequirePerm(Permission.All) def findFiles(self, pattern): return self.core.files.getTree(-1, True, DownloadState.All, pattern) -- cgit v1.2.3