remove brackets

This commit is contained in:
Semjon Kerner 2021-03-28 19:31:03 +02:00
parent 92c74f180c
commit dcbecd261b

View File

@ -132,7 +132,7 @@ def _create(gui: 'GUI'):
# noinspection PyProtectedMember # noinspection PyProtectedMember
def set_destroy(): def set_destroy():
if gui._bot_running: if gui._bot_running:
if(not messagebox.askyesno(title="Quit?", message="Bot engine running. Quit Anyway?")): if not messagebox.askyesno(title="Quit?", message="Bot engine running. Quit Anyway?"):
return return
config.set("win_loc", gui._root.geometry()) config.set("win_loc", gui._root.geometry())