summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OneFichierCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r--module/plugins/hoster/OneFichierCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index 69d6e81c0..bc7a4542d 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -79,7 +79,7 @@ class OneFichierCom(Hoster):
# Check for protection
if self.isProtected():
- password = pyfile.package().password
+ password = self.getPassword()
self.log.debug("%s: Submitting password [%s]" % (self.__name__, password))
self.download(url, post={"password" : password})
else: