Skip to content

Commit

Permalink
Fix flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasbrunner committed Dec 14, 2023
1 parent 8b28d60 commit c30f51a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion strongMan/apps/pools/models/pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c30f51a

Please sign in to comment.