From aa11ebb9957a5d0e2db1592414b25eb9c713a05f Mon Sep 17 00:00:00 2001 From: Etzelia Date: Sat, 28 Sep 2019 14:53:41 -0500 Subject: [PATCH] Add missing % Signed-off-by: Etzelia --- gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.py b/gui.py index 47c1fb6..c17178e 100644 --- a/gui.py +++ b/gui.py @@ -119,7 +119,7 @@ def gui_results(form): if form.blocks: for block in form.blocks.split(","): blocks.append(block.strip()) - blocks_clause = " AND ({})".format(" OR ".join(["cmm.material LIKE 'minecraft:{}%'".format(b) for b in blocks])) + blocks_clause = " AND ({})".format(" OR ".join(["cmm.material LIKE 'minecraft:{}%%'".format(b) for b in blocks])) worlds_clause = "" worlds = [world["id"] for world in form.worlds if world["checked"]]