summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
Diffstat (limited to 'pyload')
-rw-r--r--pyload/config/default.py2
-rw-r--r--pyload/plugins/MultiHoster.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/pyload/config/default.py b/pyload/config/default.py
index 8a2044281..8388d32df 100644
--- a/pyload/config/default.py
+++ b/pyload/config/default.py
@@ -67,7 +67,7 @@ def make_config(config):
("host", "ip", _("IP"), _("Tooltip"), "0.0.0.0"),
("https", "bool", _("Use HTTPS"), _("Tooltip"), False),
("port", "int", _("Port"), _("Tooltip"), 8001),
- ("develop", "str", _("Development mode"), _(""), False),
+ ("develop", "str", _("Development mode"), _("Tooltip"), False),
])
config.addConfigSection("proxy", _("Proxy"), _("Description"), _("Long description"),
diff --git a/pyload/plugins/MultiHoster.py b/pyload/plugins/MultiHoster.py
index 8825cc2f8..e79e24746 100644
--- a/pyload/plugins/MultiHoster.py
+++ b/pyload/plugins/MultiHoster.py
@@ -6,9 +6,10 @@ from pyload.utils import remove_chars
from Account import Account
+
def normalize(domain):
- """ Normalize domain/plugin name, so they are comparable """
- return remove_chars(domain.strip().lower(), "-.")
+ """ Normalize domain/plugin name, so they are comparable """
+ return remove_chars(domain.strip().lower(), "-.")
#noinspection PyUnresolvedReferences
class MultiHoster(Account):