summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-09-13 14:30:21 -0600
committernavanchauhan <navanchauhan@gmail.com>2023-09-13 14:30:21 -0600
commit7b1cc110be854b12cd782af415dd25d05d36c1f5 (patch)
treeeaef7a3a16df9224f5997c7025462c90db9176aa
parent0cfc97a91f0b1e6ee38bf01a63d01a362729d1f6 (diff)
no loop for loading another spreadsheet
-rw-r--r--main.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/main.py b/main.py
index c84ab23..c1f47cc 100644
--- a/main.py
+++ b/main.py
@@ -289,8 +289,6 @@ class CompanySelector:
def load_another_file(self):
print("Trying to load another file...")
loaded_file = self.load_file()
- while not loaded_file:
- loaded_file = self.load_file()
self.show_companies()
def onselect(self, evt):