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'
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'