``
The line in question is:
```python
if image_enclosure['type'] == 'image/jpg':
break
```
Guessing we can probably replace it with:
```python
if image_enclosure.get('type') == 'image/jpg':
break
```
``
To reply, visit the link below or just reply to this email
https://pagure.io/fedora-websites/issue/1045
_______________________________________________
websites mailing list -- websites@lists.fedoraproject.org
To unsubscribe send an email to websites-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/websites@lists.fedoraproject.org
No comments:
Post a Comment