From 404113d739b83e86c52101f2836798e7382e5786 Mon Sep 17 00:00:00 2001 From: Lukas <76838159+wolflu05@users.noreply.github.com> Date: Sun, 7 May 2023 02:02:11 +0200 Subject: [PATCH] Fix metadatalookup (#4784) --- InvenTree/plugin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/plugin.py b/InvenTree/plugin/plugin.py index e531e6a56f..29b9891eff 100644 --- a/InvenTree/plugin/plugin.py +++ b/InvenTree/plugin/plugin.py @@ -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 {