From 0440941300ce6558effcb685976e4985647c051d Mon Sep 17 00:00:00 2001 From: Joe DiPrima Date: Thu, 29 Dec 2022 12:49:49 -0600 Subject: [PATCH] 12/29/2022 --- qmutants.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qmutants.py b/qmutants.py index 8eb9b48..1e5f8c4 100644 --- a/qmutants.py +++ b/qmutants.py @@ -781,9 +781,14 @@ class mutant(QWidget): def parse_stat(self, result): if self.stat_parsed == False: self.status += result + if result.find("(N)onstop") != -1 or result.find("(Q)uit") != -1 or result.find("(C)ontinue") != -1: + self.status = "" + self.stat_parsed = True + if result.find(">") != -1: #Retally items, convert extras if not self.stat_parsed and self.status != "": + print("status_length",str(len(self.status))) print(self.sell_list) print("deleted list") self.sell_list = [] @@ -1129,7 +1134,7 @@ class mutant(QWidget): #scrapers if result.find("(N)onstop, (Q)uit, or (C)ontinue?") != -1: - self.command_str.emit("C") + self.command_str.emit("\r\n") #ion starvation if result.find("You're starving for IONS!") != -1: