mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 16:09:10 +00:00
fixed Anime4KCPP attribute issue
This commit is contained in:
parent
a93d18eb09
commit
4e43ff9086
@ -485,6 +485,9 @@ class Upscaler:
|
||||
self.process_pool.append(self.driver_object.upscale(self.current_input_file, output_path))
|
||||
self._wait()
|
||||
Avalon.info(_('Upscaling completed'))
|
||||
self.processing_queue.task_done()
|
||||
self.total_processed += 1
|
||||
continue
|
||||
|
||||
else:
|
||||
self.create_temp_directories()
|
||||
@ -606,7 +609,7 @@ class Upscaler:
|
||||
self.total_processed += 1
|
||||
|
||||
except (Exception, KeyboardInterrupt, SystemExit) as e:
|
||||
with contextlib.suppress(ValueError):
|
||||
with contextlib.suppress(ValueError, AttributeError):
|
||||
self.cleanup_temp_directories()
|
||||
self.running = False
|
||||
raise e
|
||||
|
Loading…
Reference in New Issue
Block a user