mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix metadatalookup (#4784)
This commit is contained in:
parent
4510cf2dd6
commit
404113d739
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user