From f520004c11e6078e28c4aef8627d8e59b1c3bb89 Mon Sep 17 00:00:00 2001 From: Adam Saudagar Date: Tue, 7 Mar 2023 01:48:59 +0530 Subject: [PATCH] #154 look_for_hole disabled by default --- fishy/engine/fullautofisher/engine.py | 2 +- fishy/gui/config_top.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fishy/engine/fullautofisher/engine.py b/fishy/engine/fullautofisher/engine.py index 76b24c0..e09b7db 100644 --- a/fishy/engine/fullautofisher/engine.py +++ b/fishy/engine/fullautofisher/engine.py @@ -166,7 +166,7 @@ class FullAuto(IEngine): _hole_found_flag = FishingMode.CurrentMode in valid_states # if vertical movement is disabled - if not config.get("look_for_hole", 1): + if not config.get("look_for_hole", 0): return _hole_found_flag t = 0 diff --git a/fishy/gui/config_top.py b/fishy/gui/config_top.py index 3a210f2..0851caf 100644 --- a/fishy/gui/config_top.py +++ b/fishy/gui/config_top.py @@ -48,7 +48,7 @@ def start_fullfisher_config(gui: 'GUI'): mode_var = tk.IntVar(value=config.get("full_auto_mode", 0)) edit_var = tk.IntVar(value=config.get("edit_recorder_mode", 0)) tabout_var = tk.IntVar(value=config.get("tabout_stop", 1)) - look_for_hole = tk.IntVar(value=config.get("look_for_hole", 1)) + look_for_hole = tk.IntVar(value=config.get("look_for_hole", 0)) row = 0 ttk.Label(controls_frame, text="Calibration: ").grid(row=row, column=0, pady=(5, 0))