declare people firt
This commit is contained in:
parent
828de0f3c9
commit
c9b631c9fd
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ class image_classifier:
|
||||||
folder_date = 'unknown-time'
|
folder_date = 'unknown-time'
|
||||||
dirname = os.path.dirname(os.path.realpath(file))
|
dirname = os.path.dirname(os.path.realpath(file))
|
||||||
filename = os.path.basename(file)
|
filename = os.path.basename(file)
|
||||||
|
people = list()
|
||||||
if not os.access(file, os.R_OK):
|
if not os.access(file, os.R_OK):
|
||||||
self._log.error(f"The file '{file}' is not readable.")
|
self._log.error(f"The file '{file}' is not readable.")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue