Various small fixes + tweaks

This commit is contained in:
derv82
2017-05-14 09:34:09 -04:00
parent b0bd0342d7
commit 62503b0d0c
7 changed files with 36 additions and 23 deletions

View File

@@ -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: