From ad4561d3c5b93a0f2bd9f66760f97ac0c6068d20 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Thu, 1 Jun 2023 10:03:33 -0600 Subject: add companies --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 89549cb..69f2277 100644 --- a/main.py +++ b/main.py @@ -439,12 +439,12 @@ class CompanySelector: text3 = "FOR INTERNAL USE ONLY" text4 = datetime.today().strftime("%B %d, %Y") text5 = f"{len([self.company_listbox.listbox.get(index) for index in self.company_listbox.listbox.curselection()])}" - text6 = f"{len([self.company_listbox.listbox.get(index) for index in self.company_listbox.listbox.curselection()])} Companies" + text5 = f"{len([self.company_listbox.listbox.get(index) for index in self.company_listbox.listbox.curselection()])} Companies" if self.prepared_for_string.get() != "": print(f"Prepared for string present - {self.prepared_for_string.get()}") if text5 != "": - if type(text5 == list): + if type(text5) == list: text5.append(f"Prepared for {self.prepared_for_string.get()}") else: text5 = [text5, f"Prepared for {self.prepared_for_string.get()}"] -- cgit v1.2.3