Algo não deu certo
Detalhes do erro:
'<' not supported between instances of 'NoneType' and 'str'