Add missing %

Signed-off-by: Etzelia <etzelia@hotmail.com>
block_fix
Etzelia 2019-09-28 14:53:41 -05:00
parent 656fb17df2
commit aa11ebb995
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
1 changed files with 1 additions and 1 deletions

2
gui.py
View File

@ -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"]]