mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix conditional statement in Job class when clearing old cache
This commit is contained in:
parent
f53345282c
commit
8c23bc4a75
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class Job:
|
|||
self.logger.error(f"Exception while restoring cache file {job_cache_file['file_name']} :\n{e}")
|
||||
ret = False
|
||||
|
||||
if not manual:
|
||||
if not manual and self.job_path.is_dir():
|
||||
for file in self.job_path.glob("**/*"):
|
||||
skipped = False
|
||||
for ignored_dir in ignored_dirs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue