Remove redundant code

This commit is contained in:
buthed010203 2023-05-20 12:03:31 -04:00 committed by GitHub
parent e295bdbf46
commit 2c24abbcdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,8 +20,6 @@ class RemoveOrphaned:
self.root_dir = qbit_manager.config.root_dir
self.orphaned_dir = qbit_manager.config.orphaned_dir
global _config
_config = self.config
self.pool = Pool(processes=max(cpu_count() - 1, 1), initializer=init_pool, initargs=(self.config,))
self.rem_orphaned()
self.cleanup_pool()