mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-01 10:29:09 +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.process_pool.append(self.driver_object.upscale(self.current_input_file, output_path))
|
||||||
self._wait()
|
self._wait()
|
||||||
Avalon.info(_('Upscaling completed'))
|
Avalon.info(_('Upscaling completed'))
|
||||||
|
self.processing_queue.task_done()
|
||||||
|
self.total_processed += 1
|
||||||
|
continue
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.create_temp_directories()
|
self.create_temp_directories()
|
||||||
@ -606,7 +609,7 @@ class Upscaler:
|
|||||||
self.total_processed += 1
|
self.total_processed += 1
|
||||||
|
|
||||||
except (Exception, KeyboardInterrupt, SystemExit) as e:
|
except (Exception, KeyboardInterrupt, SystemExit) as e:
|
||||||
with contextlib.suppress(ValueError):
|
with contextlib.suppress(ValueError, AttributeError):
|
||||||
self.cleanup_temp_directories()
|
self.cleanup_temp_directories()
|
||||||
self.running = False
|
self.running = False
|
||||||
raise e
|
raise e
|
||||||
|
Loading…
Reference in New Issue
Block a user