From 4d7c4d90f2d699e443d8a51bc473289f6901e322 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 9 Jul 2025 07:58:14 +0200 Subject: [PATCH] fix issue if no license is available (#9982) --- src/backend/InvenTree/plugin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/InvenTree/plugin/plugin.py b/src/backend/InvenTree/plugin/plugin.py index a5c11c0eba..7767583873 100644 --- a/src/backend/InvenTree/plugin/plugin.py +++ b/src/backend/InvenTree/plugin/plugin.py @@ -419,7 +419,7 @@ class InvenTreePlugin(VersionMixin, MixinBase, MetaBase): 'description': meta['Summary'], 'version': meta['Version'], 'website': website, - 'license': meta['License'], + 'license': meta.get('License', None), } def define_package(self):