Ошибка проверки версии python
parent
51b479fad4
commit
5bb31e23d3
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="script.module.vk" name="vk" version="1.0.3" provider-name="inpos">
|
<addon id="script.module.vk" name="vk" version="1.0.4" provider-name="inpos">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.14.0"/>
|
<import addon="xbmc.python" version="2.14.0"/>
|
||||||
<import addon="script.module.requests" version="2.12.4"/>
|
<import addon="script.module.requests" version="2.12.4"/>
|
||||||
|
|
|
@ -11,7 +11,7 @@ from sys import version_info
|
||||||
|
|
||||||
VERSION = '2.0.2'
|
VERSION = '2.0.2'
|
||||||
|
|
||||||
if version_info.major >= 2 and version_info.minor >= 7: # http://xbmc.ru/forum/showpost.php?p=107619&postcount=20
|
if version_info[0] >= 2 and version_info[1] >= 7: # http://xbmc.ru/forum/showpost.php?p=107619&postcount=20
|
||||||
logging.config.dictConfig(LOGGING_CONFIG)
|
logging.config.dictConfig(LOGGING_CONFIG)
|
||||||
logger = logging.getLogger('vk')
|
logger = logging.getLogger('vk')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue