From 088e0e38fd7419951d31bbc389c95d1c662e550f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:15:32 +0200 Subject: Fix __config__ Merges vuolter/pyload@83ff313 (cherry picked from commit d27113cef108461e2363cc4c88c4a1d01222c9e9) Conflicts: module/plugins/Hook.py module/plugins/hooks/MultiDebridCom.py module/plugins/hooks/UnrestrictLi.py --- module/plugins/hooks/FreeWayMe.py | 6 +++--- module/plugins/hooks/OverLoadMe.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'module') diff --git a/module/plugins/hooks/FreeWayMe.py b/module/plugins/hooks/FreeWayMe.py index 7f3f7b386..63231a893 100644 --- a/module/plugins/hooks/FreeWayMe.py +++ b/module/plugins/hooks/FreeWayMe.py @@ -25,11 +25,11 @@ class FreeWayMe(MultiHoster): __version__ = "0.11" __type__ = "hook" __description__ = """FreeWay.me hook plugin""" - __config__ = [("activated", "bool", "Activated", "False"), + __config__ = [("activated", "bool", "Activated", False), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "24")] + ("unloadFailing", "bool", "Revert to stanard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 24)] __author_name__ = "Nicolas Giese" __author_mail__ = "james@free-way.me" diff --git a/module/plugins/hooks/OverLoadMe.py b/module/plugins/hooks/OverLoadMe.py index 09ceea3ad..e15d0b05f 100644 --- a/module/plugins/hooks/OverLoadMe.py +++ b/module/plugins/hooks/OverLoadMe.py @@ -8,12 +8,12 @@ class OverLoadMe(MultiHoster): __name__ = "OverLoadMe" __version__ = "0.01" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False"), - ("https", "bool", "Enable HTTPS", "True"), + __config__ = [("activated", "bool", "Activated", False), + ("https", "bool", "Enable HTTPS", True), ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), - ("unloadFailing", "bool", "Revert to standard download if download fails", "False"), - ("interval", "int", "Reload interval in hours (0 to disable)", "12")] + ("unloadFailing", "bool", "Revert to standard download if download fails", False), + ("interval", "int", "Reload interval in hours (0 to disable)", 12)] __description__ = """Over-Load.me hook plugin""" __author_name__ = "marley" __author_mail__ = "marley@over-load.me" -- cgit v1.2.3