parent
e1b3319247
commit
fd3ffa6857
2
gui.py
2
gui.py
|
@ -112,6 +112,8 @@ 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 = ""
|
||||||
|
if coords:
|
||||||
coords_clause = " AND ({})".format(" AND ".join(coords))
|
coords_clause = " AND ({})".format(" AND ".join(coords))
|
||||||
|
|
||||||
players = []
|
players = []
|
||||||
|
|
Loading…
Reference in New Issue