OpenSPA / dvbapp2

New OpenSPA E2 based on openATV E2.
GNU General Public License v2.0
4 stars 12 forks source link

VideoMode.py: apply int method for this int with int operator #8

Closed norhap closed 1 year ago

norhap commented 1 year ago

Otherwise the code compares an integer with a string. 00:16:18.3448 if config_rate not in ("auto", "multi") and int(config_rate) < new_rate: 00:16:18.3454 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 00:16:18.3455 TypeError: '<' not supported between instances of 'int' and 'str'