mhhabib/finiz

Possible optimization

gigasurgeon opened this issue · 2 comments

The script is not checking if the os.listdir's current element is a folder or not. We can skip the next loops if it is a folder.

@ghostmahoday Can you please mention the specific line no?

after line 41,we can add a check if the "fil" is a file or a directory. If directory, then we can skip the rest of the loops