Skip to content

Commit

Permalink
removed loader...
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonHax committed Jul 25, 2023
1 parent b0e0aa4 commit 1fb7947
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions excel_field_deleter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'... ")
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 1fb7947

Please sign in to comment.