From 1fb794777874ecba466d8ae41f85dadaee0fbfcf Mon Sep 17 00:00:00 2001 From: Darl Jed Matundan Date: Tue, 25 Jul 2023 22:53:37 +0800 Subject: [PATCH] removed loader... --- excel_field_deleter.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/excel_field_deleter.py b/excel_field_deleter.py index 6e72418..b71d1d8 100644 --- a/excel_field_deleter.py +++ b/excel_field_deleter.py @@ -33,7 +33,6 @@ async def saveOutput(self,dataArr): df.to_excel(writer,data['name']) self.complete = True - self.debug("self.complete has been set to True") async def processWorksheet(self,sheet): self.debug(f"{self.filename} : Parsing fields for sheet '{sheet}'... ") @@ -92,10 +91,7 @@ async def main(self): self.debug("Almost there! Please wait while the new file is being generated... This will take some time for large datasets.") self.output_filename = f'output-{datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%S")}' self.tasks.append(asyncio.create_task(self.saveOutput(self.mainData))) - while not self.complete: - print(".",end="") - sys.stdout.flush() - await asyncio.sleep(1) + # await asyncio.gather(*self.tasks) # with open('file.json',"w") as f: