From 6723b8a21ec7a3fcba16ca68744a644878beb51b Mon Sep 17 00:00:00 2001 From: mez Date: Tue, 3 Jun 2025 07:07:30 +0100 Subject: [PATCH] Fix trade function (again) --- tools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools.py b/tools.py index 6e2ede5..d033358 100644 --- a/tools.py +++ b/tools.py @@ -1926,6 +1926,8 @@ def maketrade(): outc.extend(mptc) else: trylowch = True + else: + trylowch = False if trylowch: inc.extend(lpwc) if len(inc) > len(outc): @@ -1996,6 +1998,8 @@ def maketrade(): outs.extend(mpts) else: trylowsp = True + else: + trylowsp = False if trylowsp: ins.extend(lpws) if len(ins) > len(outs):