diff options
author | navanchauhan <navanchauhan@gmail.com> | 2023-06-01 10:03:33 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2023-06-01 10:03:33 -0600 |
commit | ad4561d3c5b93a0f2bd9f66760f97ac0c6068d20 (patch) | |
tree | 6f08275588c3367154c0dc7f735b5edae6711f8d | |
parent | e74dfbac29243d1e1af672ae2bc499c20eae6123 (diff) |
add companies
-rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()}"] |