parent
e1b3319247
commit
fd3ffa6857
4
gui.py
4
gui.py
|
@ -112,7 +112,9 @@ def gui_results(form):
|
||||||
coords.append(" y BETWEEN {0} - {1} AND {0} + {1}".format(form.y, radius))
|
coords.append(" y BETWEEN {0} - {1} AND {0} + {1}".format(form.y, radius))
|
||||||
if form.z:
|
if form.z:
|
||||||
coords.append(" z BETWEEN {0} - {1} AND {0} + {1}".format(form.z, radius))
|
coords.append(" z BETWEEN {0} - {1} AND {0} + {1}".format(form.z, radius))
|
||||||
coords_clause = " AND ({})".format(" AND ".join(coords))
|
coords_clause = ""
|
||||||
|
if coords:
|
||||||
|
coords_clause = " AND ({})".format(" AND ".join(coords))
|
||||||
|
|
||||||
players = []
|
players = []
|
||||||
players_clause = ""
|
players_clause = ""
|
||||||
|
|
Loading…
Reference in New Issue