Flexget / Flexget

The official FlexGet repository
http://www.flexget.com
MIT License
1.73k stars 471 forks source link

python3 ('>' not supported between instances of 'int' and 'str') #2439

Closed snickers2k closed 5 years ago

snickers2k commented 5 years ago

python 3.6 flexget: latest

worked just fine with python2 , but not with 3 .. 2019-09-09 20:23 ERROR if Merge_Trakt_Lists Error occurred while evaluating statementtrakt_votes > '50'. ('>' not supported between instances of 'int' and 'str')

hapening for every task where there is "<" or ">" at least.

snickers2k commented 5 years ago

in fact the whole "if-plugin" is broken with py3. "trakt_collected: accept" does not work neither.

gazpachoking commented 5 years ago

You need to remove the quotes around 50 to make it a number. i.e. trakt_votes > 50 It wouldn't error on python 2, but it also won't do what you expect.

snickers2k commented 5 years ago

oh, sorry. thank you