From 855570f5e6bb319bcb3bffbbbd70a9b85e267173 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Feb 2016 14:46:41 +0300 Subject: hercules: add into itemdb collection item name and id. --- hercules/code/server/tmw/itemdb.py | 1 + 1 file changed, 1 insertion(+) (limited to 'hercules/code') diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py index 54e8a83..a074381 100644 --- a/hercules/code/server/tmw/itemdb.py +++ b/hercules/code/server/tmw/itemdb.py @@ -51,6 +51,7 @@ def convertItemDb(): rows[f] = rows[f].strip() items[rows[1]] = {'id':rows[0],'buy':rows[4]} + items[rows[0]] = {'id':rows[0],'buy':rows[4]} # set all values then write w.write("{\n") c.write("{0}\t{1}\n".format(rows[1], rows[0])) -- cgit v1.2.3-70-g09d2