diff --git a/tipbot/modules/bookie.py b/tipbot/modules/bookie.py index 64ea222..4709ab8 100644 --- a/tipbot/modules/bookie.py +++ b/tipbot/modules/bookie.py @@ -390,6 +390,8 @@ def Result(link,cmd): ounits = long(redis_hget(tname,bettor+":units")) if o == outcome: owinunits = long(total_units_bet * (1-config.bookie_fee) * ounits / total_units_bet_by_winners) + if owinunits