Merge branch 'master' of git://git.assembla.com/fpdb-eric

This commit is contained in:
Matt Turnbull 2009-02-27 18:29:43 +00:00
commit 9254be66a1

View File

@ -75,7 +75,7 @@ def totalprofit(stat_dict, player):
if stat_dict[player]['net'] != 0:
stat = float(stat_dict[player]['net']) / 100
return (stat, '$%.2f' % stat, 'tp=$%.2f' % stat, 'totalprofit=$%.2f' % stat, str(stat), 'Total Profit')
return ('0', '0', '0', '0', 'Total Profit')
return ('0', '$0.00', 'tp=0', 'totalprofit=0', '0', 'Total Profit')
def playername(stat_dict, player):
""" Player Name."""