add debug
This commit is contained in:
parent
91ce27b068
commit
c56a18ab8e
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ class image_classifier:
|
||||||
{match.group('day')}"
|
{match.group('day')}"
|
||||||
else:
|
else:
|
||||||
folder = 'unknown-time'
|
folder = 'unknown-time'
|
||||||
|
self._log.debug(f"Time based folder name section '{folder}'")
|
||||||
new_path = os.path.join(dirname, folder)
|
new_path = os.path.join(dirname, folder)
|
||||||
if not os.path.exists(new_path):
|
if not os.path.exists(new_path):
|
||||||
os.makedirs(new_path)
|
os.makedirs(new_path)
|
||||||
|
|
Loading…
Reference in a new issue