fix def
This commit is contained in:
parent
e38ade91d6
commit
c6a1e69088
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class image_classifier:
|
||||||
if not entry.name.startswith('.') and entry.is_file():
|
if not entry.name.startswith('.') and entry.is_file():
|
||||||
self.process_file(entry.path)
|
self.process_file(entry.path)
|
||||||
|
|
||||||
def recursive_scandir(path, ignore_hidden_files=True):
|
def recursive_scandir(self, path, ignore_hidden_files=True):
|
||||||
files = []
|
files = []
|
||||||
try:
|
try:
|
||||||
for file in os.scandir(path):
|
for file in os.scandir(path):
|
||||||
|
|
Loading…
Reference in a new issue