From 71f9399760b7957259fa7712d00ea5020f308e4b Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 10 Feb 2022 00:50:21 +1100 Subject: [PATCH] Cleanup --- InvenTree/build/serializers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/InvenTree/build/serializers.py b/InvenTree/build/serializers.py index efc4665d00..bc9d018cbe 100644 --- a/InvenTree/build/serializers.py +++ b/InvenTree/build/serializers.py @@ -208,9 +208,7 @@ class BuildOutputDeleteSerializer(serializers.Serializer): with transaction.atomic(): for item in outputs: - output = item['output'] - build.delete_output(output)