Fix metadatalookup (#4784)
This commit is contained in:
parent
4510cf2dd6
commit
404113d739
|
|
@ -366,7 +366,7 @@ class InvenTreePlugin(VersionMixin, MixinBase, MetaBase):
|
|||
|
||||
try:
|
||||
website = meta['Project-URL'].split(', ')[1]
|
||||
except (ValueError, IndexError, ):
|
||||
except (ValueError, IndexError, AttributeError, ):
|
||||
website = meta['Project-URL']
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue