rape: fix fines color
This commit is contained in:
parent
7036bceeb0
commit
31631e3e4d
|
@ -30,7 +30,7 @@ class Rape(DatabasePlugin):
|
|||
owes = cur.fetchone()
|
||||
|
||||
# Colorize owe amount and return string
|
||||
if owes:
|
||||
if owes and owes['fines'] > 0:
|
||||
fines = '4${}'.format(owes['fines'])
|
||||
else:
|
||||
fines = '3$0'
|
||||
|
|
Loading…
Reference in New Issue
Block a user