Skip to content

api Rodnoe креш при запросе get_epg #22

@miouser

Description

@miouser

есть проблема при запросе программы передач на каналах там где она отсутствует со стороны сервера

crash:
File "/usr/lib/enigma2/python/Plugins/Extensions/KartinaTV/api/rodnoe_api.py", line 201, in getDayEpg
for prog in root.find('channels').find('item').find('epg'):
AttributeError: 'NoneType' object has no attribute 'find'

ответ сервера:
?xml version="1.0" encoding="UTF-8" standalone="true"?
response
icons
default>http://file-teleport.com/iptv/core/img/ico/tv/%ICON%.gif</default

w40h30>http://file-teleport.com/iptv/core/img/ico/tv/%ICON%.gif</w40h30
/icons
channels/
servertime>1373222132</servertime
/response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions