Fix join
This commit is contained in:
parent
8b9ab3f6d2
commit
449f04bf9d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class image_classifier:
|
||||||
with os.scandir(directory) as directory_item:
|
with os.scandir(directory) as directory_item:
|
||||||
for entry in directory_item:
|
for entry in directory_item:
|
||||||
if not entry.name.startswith('.') and entry.is_file():
|
if not entry.name.startswith('.') and entry.is_file():
|
||||||
self.process_file(os.path.joing(directory, entry.name))
|
self.process_file(os.path.join(directory, entry.name))
|
||||||
|
|
||||||
def process_file(self, file):
|
def process_file(self, file):
|
||||||
''' Process a file, find faces, add EXIF information and
|
''' Process a file, find faces, add EXIF information and
|
||||||
|
|
Loading…
Reference in a new issue