TypeError: argument of type 'NoneType' is not iterable #2

Tancada
oberta 2022-12-18 12:48:28 +01:00 per spla · 1 comment
Owner

Traceback (most recent call last):
File "/home/mastodon/bots/corpus/corpus.py", line 164, in
if 'visibility' in notif.status:
TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last): File "/home/mastodon/bots/corpus/corpus.py", line 164, in <module> if 'visibility' in notif.status: TypeError: argument of type 'NoneType' is not iterable
spla ha afegit l'etiqueta
bug
2022-12-18 12:48:28 +01:00
spla s'ha auto assignat aquest 2022-12-18 12:48:28 +01:00
Author
Owner

El codi rep notificacions del tipus "status" (tuts) però no tenen cap contingut.
La sol·lució és afegir un filtre extra que verifiqui si hi ha contingut o no.

El codi rep notificacions del tipus "status" (tuts) però no tenen cap contingut. La sol·lució és afegir un filtre extra que verifiqui si hi ha contingut o no.
spla ha referenciat aquesta incidència en un commit 2022-12-18 12:56:57 +01:00
spla ha tancat aquesta incidència 2022-12-18 12:56:57 +01:00
Inicia sessió per a unir-te a aquesta conversa.
Sense Milestone
Ningún proyecto
Sense assignats
1 participants
Notificacions
Data de venciment
La fecha de vencimiento es inválida o está fuera de rango. Por favor utilice el formato 'aaaa-mm-dd'.

Sin fecha de vencimiento.

Dependències

Aquesta incidència no té cap dependència.

Referència: spla/corpus#2
Aún no existe contenido.