summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Ftp.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-11 01:04:09 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-11 01:04:09 +0200
commitc3b3f3ea5c813edbe3e6941c535c78ad494244ee (patch)
tree6a76a01cdf3d5fe678e02618bdbe7d0c5ce8ca8c /module/plugins/hoster/Ftp.py
parentFix https://github.com/pyload/pyload/issues/2002 (diff)
downloadpyload-c3b3f3ea5c813edbe3e6941c535c78ad494244ee.tar.xz
Fix https://github.com/pyload/pyload/issues/1998
Fix https://github.com/pyload/pyload/issues/1999 Fix https://github.com/pyload/pyload/issues/2001
Diffstat (limited to 'module/plugins/hoster/Ftp.py')
-rw-r--r--module/plugins/hoster/Ftp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py
index 4373b5d01..c30ad3c37 100644
--- a/module/plugins/hoster/Ftp.py
+++ b/module/plugins/hoster/Ftp.py
@@ -9,12 +9,13 @@ from module.plugins.internal.Hoster import Hoster
class Ftp(Hoster):
- __name = "Ftp"
+ __name__ = "Ftp"
__type__ = "hoster"
__version__ = "0.55"
__status__ = "testing"
__pattern__ = r'(?:ftps?|sftp)://([\w\-.]+(:[\w\-.]+)?@)?[\w\-.]+(:\d+)?/.+'
+ __config__ = [("activated", "bool", "Activated", True)]
__description__ = """Download from ftp directory"""
__license__ = "GPLv3"