Skip to content

Commit

Permalink
fix for have_face.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdunstone committed Feb 12, 2018
1 parent f170e43 commit 46c5f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def read_directory(self):
return self.input_dir

def have_face(self, filename):
return filename in self.faces_detected
return os.path.basename(filename) in self.faces_detected

def have_alignments(self):
fn = os.path.join(str(self.arguments.input_dir), "alignments.{}".format(self.serializer.ext))
Expand Down

0 comments on commit 46c5f87

Please sign in to comment.