sw360 / sw360python

Python library for SW360 REST API access
Other
4 stars 7 forks source link

Get attachments return error on empty attachments field #5

Closed manuelscha closed 2 years ago

manuelscha commented 2 years ago

Following line returns an error if no attachment exist https://github.com/sw360/sw360python/blob/master/sw360/sw360_api.py#L1215 The property ["sw360:attachments"] does not exit in that case