From c30f51affb190ba42ca37ab8563f805aec210c5b Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 14 Dec 2023 10:39:34 +0100 Subject: [PATCH] Fix flake8 issue --- strongMan/apps/pools/models/pools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/strongMan/apps/pools/models/pools.py b/strongMan/apps/pools/models/pools.py index 6550bcb..d2dcc17 100644 --- a/strongMan/apps/pools/models/pools.py +++ b/strongMan/apps/pools/models/pools.py @@ -31,7 +31,10 @@ def dict(self): elif self.attribute is None: pools = {self.poolname: {'addrs': self.addresses}} else: - pools = {self.poolname: {'addrs': self.addresses, self.attribute: self.attributevalues.split(',')}} + pools = {self.poolname: { + 'addrs': self.addresses, + self.attribute: self.attributevalues.split(',')} + } return pools def __str__(self):