Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.python.twitch" name="python-twitch for Kodi" version="1.0.0~beta3" provider-name="A Talented Community">
<addon id="script.module.python.twitch" name="python-twitch for Kodi" version="1.0.0~beta4" provider-name="A Talented Community">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.six" version="1.9.0"/>
Expand Down
9 changes: 8 additions & 1 deletion resources/lib/twitch/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@

import logging

try:
from logging import NullHandler
except ImportError:
class NullHandler(logging.Handler):
def emit(self, record):
pass

log = logging.getLogger('twitch')
log.addHandler(logging.NullHandler())
log.addHandler(NullHandler())


def deprecation_warning(logger, old, new):
Expand Down