adapt all CLI functions to new code structure
This commit is contained in:
@@ -80,6 +80,9 @@ class Conditions:
|
||||
cfg.append(f"whitelist={self.whitelist}")
|
||||
return "Conditions(" + ", ".join(cfg) + ")"
|
||||
|
||||
def get_whitelist(self):
|
||||
return self.whitelist
|
||||
|
||||
def match_host(self, host):
|
||||
logger = CustomLogger(
|
||||
self.logger, {"name": self.cfg["name"]})
|
||||
|
||||
Reference in New Issue
Block a user