Skip to content

Commit 50250c8

Browse files
committed
use xbmcaddon.Addon() for twitch.VERSION
1 parent 1029cb4 commit 50250c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

resources/lib/twitch/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- encoding: utf-8 -*-
22

3-
VERSION = '1.3.0'
3+
import xbmcaddon
4+
5+
VERSION = xbmcaddon.Addon('script.module.python.twitch').getAddonInfo('version')
46
CLIENT_ID = ''
57
CLIENT_SECRET = ''
68
OAUTH_TOKEN = ''

0 commit comments

Comments
 (0)