From 41cf7219078d3efe2c91e86e4d618f9c676d4669 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 Sep 2021 01:31:08 +0200 Subject: [PATCH] simpler return definition --- InvenTree/plugins/integration/integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugins/integration/integration.py b/InvenTree/plugins/integration/integration.py index a3262f1549..ab8e71927c 100644 --- a/InvenTree/plugins/integration/integration.py +++ b/InvenTree/plugins/integration/integration.py @@ -47,7 +47,7 @@ class MixinBase: if not with_base and 'base' in mixins: del mixins['base'] # only return dict - mixins = [a for a in mixins.values()] + mixins = mixins.values() return mixins