Fix sep strign

This commit is contained in:
Antonio J. Delgado 2021-09-06 16:11:21 +03:00
parent 6e73345021
commit 2f256f51d7

View file

@ -58,7 +58,7 @@ class image_classifier:
with os.scandir(directory) as directory_item:
for entry in directory_item:
if not entry.name.startswith('.') and entry.is_file():
self.process_file(directory + os.sep() + entry.name)
self.process_file(directory + os.sep + entry.name)
def process_file(self, file):
''' Process a file, find faces, add EXIF information and