summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-06-01 10:03:33 -0600
committernavanchauhan <navanchauhan@gmail.com>2023-06-01 10:03:33 -0600
commitad4561d3c5b93a0f2bd9f66760f97ac0c6068d20 (patch)
tree6f08275588c3367154c0dc7f735b5edae6711f8d
parente74dfbac29243d1e1af672ae2bc499c20eae6123 (diff)
add companies
-rw-r--r--main.py4
1 files 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()}"]