From f6f00ae3857c4244c109dd15ed00260dad95815d Mon Sep 17 00:00:00 2001 From: VitaliyS Date: Mon, 20 Apr 2015 15:00:26 +0300 Subject: fix: wot.py - new tanks --- plugins/wot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wot.py b/plugins/wot.py index db3147b..6ce3813 100644 --- a/plugins/wot.py +++ b/plugins/wot.py @@ -110,7 +110,7 @@ def wot(type, jid, nick, text): tank_name = tanks_data[str(t['tank_id'])]['name_i18n'] tank_wins = round(100.0*tank_win/tank_battle, 2) - if extv: + if extv and extv.has_key(t['tank_id']): #wn8 expDmg = tank_battle * extv[t['tank_id']]['expDamage'] expSpot = tank_battle * extv[t['tank_id']]['expSpot'] -- cgit v1.2.3