--- a/mugshot/MugshotWindow.py 2018-04-12 00:23:21.000000000 +0200 +++ b/mugshot/MugshotWindow.py 2018-06-22 22:27:05.515588012 +0200 @@ -257,10 +257,11 @@ logger.debug('Found profile image: %s' % str(image)) if os.path.isfile(face): - if os.path.samefile(image, face): - self.updated_image = face - else: - self.updated_image = None + if os.path.exists(image): + if os.path.samefile(image, face): + self.updated_image = face + else: + self.updated_image = None self.set_user_image(face) elif os.path.isfile(image): self.updated_image = image