[mythtv-commits] [MythTV/mythtv] 16d1af: Python bindings: prevent exception for 404 errors

billmeek noreply at github.com
Wed Mar 11 21:41:06 UTC 2020


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 16d1afc29b650de8cedd9a2da27115ce36f980f1
      https://github.com/MythTV/mythtv/commit/16d1afc29b650de8cedd9a2da27115ce36f980f1
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/bindings/python/MythTV/services_api/send.py

  Log Message:
  -----------
  Python bindings: prevent exception for 404 errors

3131ddb52b caused ElementTree.ParseError exceptions for errors like
these:

    <!DOCTYPE html><HTML><HEAD><TITLE>Error 404</TITLE><META
    HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    </HEAD><BODY><H1>404 Not Found.</H1></BODY></HTML>

(cherry picked from commit 5f384d3c8f482a4348e8ccdd953e067e6b95e02f)




More information about the mythtv-commits mailing list