Fix metadatalookup (#4784)

This commit is contained in:
Lukas 2023-05-07 02:02:11 +02:00 committed by GitHub
parent 4510cf2dd6
commit 404113d739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,7 +366,7 @@ class InvenTreePlugin(VersionMixin, MixinBase, MetaBase):
try: try:
website = meta['Project-URL'].split(', ')[1] website = meta['Project-URL'].split(', ')[1]
except (ValueError, IndexError, ): except (ValueError, IndexError, AttributeError, ):
website = meta['Project-URL'] website = meta['Project-URL']
return { return {