Closed BigNoid closed 8 years ago
I've seen a couple times that the Trakt API returns None for duration. This leads to an error 'duration': item["runtime"] * 60 TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
None
'duration': item["runtime"] * 60
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
Thx for the heads-up, fixed it with https://github.com/phil65/script.extendedinfo/commit/5048a7e9e21268d89f8cc53782c5db0f793ac904
I've seen a couple times that the Trakt API returns
None
for duration. This leads to an error'duration': item["runtime"] * 60
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'