From f765f0f08379518cbae29cddddbc1bd5bcad8a79 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 23:52:50 +0100 Subject: [PATCH] should not be reached --- InvenTree/plugin/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/serializers.py b/InvenTree/plugin/serializers.py index 2eab60daa9..14c2c11ec6 100644 --- a/InvenTree/plugin/serializers.py +++ b/InvenTree/plugin/serializers.py @@ -117,7 +117,7 @@ class PluginConfigInstallSerializer(serializers.Serializer): ret['result'] = str(result, 'utf-8') ret['success'] = True success = True - except subprocess.CalledProcessError as error: + except subprocess.CalledProcessError as error: # pragma: no cover ret['result'] = str(error.output, 'utf-8') ret['error'] = True