From 3891ccdaf5e4654d2cd1a06411ac84c437ced99f Mon Sep 17 00:00:00 2001 From: Halali Date: Sat, 10 Nov 2018 20:02:02 +0100 Subject: [PATCH] Remove restart requirement icon from Debug setting --- bazarr/logger.py | 4 ++-- views/settings.tpl | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/bazarr/logger.py b/bazarr/logger.py index 936a60375..b1b7bcefc 100644 --- a/bazarr/logger.py +++ b/bazarr/logger.py @@ -153,6 +153,6 @@ def update_settings(debug): else: level = "DEBUG" print debug, level - logging.getLogger().setLevel(level) - for handler in logging.getLogger().handlers: + logger.setLevel(level) + for handler in logger.handlers: handler.setLevel(level) diff --git a/views/settings.tpl b/views/settings.tpl index cce1a4ef7..212b32dd9 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -146,12 +146,6 @@ - -