rape: fix fines color

This commit is contained in:
jkhsjdhjs 2021-01-25 19:43:53 +00:00
parent 7036bceeb0
commit 31631e3e4d

View File

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