[mythtv-commits] [MythTV/mythtv] 00b1ee: tmdb3 grabber: python 2 compatibility

rcrdnalor noreply at github.com
Sat Feb 27 22:10:24 UTC 2021

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 00b1eea0ee79d8f23a20245eae30b59e285d6222
  Author: Roland Ernst <rcrernst at gmail.com>
  Date:   2021-02-27 (Sat, 27 Feb 2021)

  Changed paths:
    M mythtv/bindings/python/tmdb3/tmdb3/lookup.py

  Log Message:
  tmdb3 grabber: python 2 compatibility

Python's isnumeric method supports only unicode, but covers all numeral
expressions of different languages, like 一二三, i.e. 123 in Japanese Kanji.
Since the default type for a string is 'ascii' in python2, this does not work
without type conversion.

Signed-off-by: Peter Bennett <pbennett at mythtv.org>

More information about the mythtv-commits mailing list