summaryrefslogtreecommitdiffstats
path: root/pyload/config/Setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/config/Setup.py')
-rw-r--r--pyload/config/Setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/config/Setup.py b/pyload/config/Setup.py
index ce5a5fb88..bae75fea4 100644
--- a/pyload/config/Setup.py
+++ b/pyload/config/Setup.py
@@ -32,9 +32,9 @@ class SetupAssistant(object):
load_translation("setup", self.lang)
- #Input shorthand for yes
+ # Input shorthand for yes
self.yes = _("y")
- #Input shorthand for no
+ # Input shorthand for no
self.no = _("n")
# print
@@ -261,7 +261,7 @@ class SetupAssistant(object):
web = sqlite and beaker
- js = True if JsEngine.find() else False
+ js = bool(JsEngine.find())
self.print_dep(_("JS engine"), js)
if not python: