Fix sep strign
This commit is contained in:
parent
6e73345021
commit
2f256f51d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue