enigma2: demoplugins-upnpmediarenderer needs systemplugins-upnp
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2-3.999git20160612 / 0001-Tools-LogConfig-small-fix.patch
1 From a5eb5c9a401e34422935c80f52f4227c1bd54781 Mon Sep 17 00:00:00 2001
2 From: reichi <reichi@opendreambox.org>
3 Date: Thu, 27 Mar 2014 13:18:13 +0100
4 Subject: [PATCH 1/2] Tools/LogConfig: small fix
5
6 (cherry picked from commit b753ac791c0173ca5fc56e4ffd87d8f54ce10ad1)
7 ---
8  usr/lib/enigma2/python/Tools/LogConfig.py | 3 +++
9  1 file changed, 3 insertions(+)
10
11 diff --git a/usr/lib/enigma2/python/Tools/LogConfig.py b/usr/lib/enigma2/python/Tools/LogConfig.py
12 index 2b9fa1f..95d0a45 100644
13 --- a/usr/lib/enigma2/python/Tools/LogConfig.py
14 +++ b/usr/lib/enigma2/python/Tools/LogConfig.py
15 @@ -26,12 +26,15 @@ class LogConfig(object):
16  
17         @staticmethod
18         def level():
19 +               from Components.config import config
20                 return config.log.level.value
21  
22         @staticmethod
23         def verbose():
24 +               from Components.config import config
25                 return config.log.verbose.value
26  
27         @staticmethod
28         def colored():
29 +               from Components.config import config
30                 return config.log.colored.value
31 -- 
32 1.9.1
33