From b7910446ff3bd79c2ccee248a23a6b786d90efa4 Mon Sep 17 00:00:00 2001 From: wijnand Date: Thu, 3 May 2018 16:57:25 +0200 Subject: [PATCH] return empty dict instead of container --- colorbleed/fusion/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorbleed/fusion/lib.py b/colorbleed/fusion/lib.py index 504a9b0271..97c9fb9e86 100644 --- a/colorbleed/fusion/lib.py +++ b/colorbleed/fusion/lib.py @@ -57,7 +57,7 @@ def get_additional_data(container): tool = container["_tool"] tile_color = tool.TileColor if tile_color is None: - return container + return {} return {"color": QtGui.QColor(clamp(tile_color["R"]), clamp(tile_color["G"]),