File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2- <addon id =" script.module.python.twitch" name =" python-twitch for Kodi" version =" 1.0.0~beta3 " provider-name =" A Talented Community" >
2+ <addon id =" script.module.python.twitch" name =" python-twitch for Kodi" version =" 1.0.0~beta4 " provider-name =" A Talented Community" >
33 <requires >
44 <import addon =" xbmc.python" version =" 2.1.0" />
55 <import addon =" script.module.six" version =" 1.9.0" />
Original file line number Diff line number Diff line change 33
44import logging
55
6+ try :
7+ from logging import NullHandler
8+ except ImportError :
9+ class NullHandler (logging .Handler ):
10+ def emit (self , record ):
11+ pass
12+
613log = logging .getLogger ('twitch' )
7- log .addHandler (logging . NullHandler ())
14+ log .addHandler (NullHandler ())
815
916
1017def deprecation_warning (logger , old , new ):
You can’t perform that action at this time.
0 commit comments