Various small fixes + tweaks
This commit is contained in:
@@ -103,10 +103,12 @@ class Target(object):
|
||||
power = Color.s('{%s}%s' % (color, power))
|
||||
|
||||
wps = Color.s('{O} n/a')
|
||||
if self.wps:
|
||||
if self.wps == True:
|
||||
wps = Color.s('{G} yes')
|
||||
else:
|
||||
elif self.wps == False:
|
||||
wps = Color.s('{R} no')
|
||||
else:
|
||||
wps = Color.s('{O} n/a')
|
||||
|
||||
clients = ' '
|
||||
if len(self.clients) == 1:
|
||||
|
||||
Reference in New Issue
Block a user