Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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