cleanup: remove unused imports and dead code
This commit is contained in:
@@ -8,7 +8,6 @@ class Config(ComboParser):
|
||||
self.torhosts = [ str(i).strip() for i in self.common.tor_hosts.split(',') ]
|
||||
# threads config = per-host value, multiply by Tor host count
|
||||
self.watchd.threads = self.watchd.threads * len(self.torhosts)
|
||||
#with open('servers.txt', 'r') as handle:
|
||||
with open(self.watchd.source_file, 'r') as handle:
|
||||
self.servers = [x.strip() for x in handle.readlines() if len(x.strip()) > 0]
|
||||
# Parse checktypes as comma-separated list
|
||||
|
||||
Reference in New Issue
Block a user