Update black to 22.1.0 (#65788)
This commit is contained in:
parent
58409d0895
commit
fa09cf663e
42 changed files with 204 additions and 255 deletions
|
@ -65,7 +65,7 @@ class BanSensor(SensorEntity):
|
|||
self.last_ban = None
|
||||
self.log_parser = log_parser
|
||||
self.log_parser.ip_regex[self.jail] = re.compile(
|
||||
fr"\[{re.escape(self.jail)}\]\s*(Ban|Unban) (.*)"
|
||||
rf"\[{re.escape(self.jail)}\]\s*(Ban|Unban) (.*)"
|
||||
)
|
||||
_LOGGER.debug("Setting up jail %s", self.jail)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue