Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/isida/4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/wot.py2
1 files changed, 1 insertions, 1 deletions
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']