From 5b022d040998f6342d5bbaf3acb2e4ad7450cda9 Mon Sep 17 00:00:00 2001 From: shypike Date: Thu, 28 May 2015 20:54:11 +0200 Subject: [PATCH] Fix Config->Switches to show availability of unrar, unzip and 7zip. Also, remove warning for missing 7zip binary. --- SABnzbd.py | 2 +- interfaces/Config/templates/config_switches.tmpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SABnzbd.py b/SABnzbd.py index 9c8ec3e..e3b9dd8 100755 --- a/SABnzbd.py +++ b/SABnzbd.py @@ -516,7 +516,7 @@ def print_modules(): if sabnzbd.newsunpack.SEVEN_COMMAND: logging.info("7za binary... found (%s)", sabnzbd.newsunpack.SEVEN_COMMAND) else: - if sabnzbd.cfg.enable_7zip(): logging.warning(T('7za binary... NOT found!')) + if sabnzbd.cfg.enable_7zip(): logging.info(T('7za binary... NOT found!')) if not sabnzbd.WIN32: if sabnzbd.newsunpack.NICE_COMMAND: diff --git a/interfaces/Config/templates/config_switches.tmpl b/interfaces/Config/templates/config_switches.tmpl index 2a010ac..c79a4fe 100644 --- a/interfaces/Config/templates/config_switches.tmpl +++ b/interfaces/Config/templates/config_switches.tmpl @@ -178,19 +178,19 @@ 0 then 'checked="checked"' else ""#--> /> $T('explain-enable_all_par') -
"> +
"> - 0 then 'checked="checked"' else ""#--> /> + /> $T('explain-enable_unrar')
"> - 0 then 'checked="checked"' else ""#--> /> + /> $T('explain-enable_unzip')
"> - 0 then 'checked="checked"' else ""#--> /> + /> $T('explain-enable_7zip')