From 2c24abbcdf1c48caf316880a6170d7af141b4b5e Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Sat, 20 May 2023 12:03:31 -0400 Subject: [PATCH] Remove redundant code --- modules/core/remove_orphaned.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/core/remove_orphaned.py b/modules/core/remove_orphaned.py index 5a80754..fdfd99e 100644 --- a/modules/core/remove_orphaned.py +++ b/modules/core/remove_orphaned.py @@ -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()