From fc37d7dcbb45c1fca65d238795c1af92b0733530 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 19 Aug 2014 22:36:24 +0100 Subject: [PATCH] Fix system name lookup --- dropbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropbot/bot.py b/dropbot/bot.py index 7e01bb0..11f9feb 100644 --- a/dropbot/bot.py +++ b/dropbot/bot.py @@ -477,5 +477,5 @@ class DropBot(ClientXMPP): char_name, len(res), intcomma(sum_value), - ', '.join(set([self.map.nodes[int(x['solarSystemID'])] for x in res])) + ', '.join(set([self.map.node[int(x['solarSystemID'])]['name'] for x in res])) )