diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-02 14:46:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-02 14:46:41 +0300 |
commit | 855570f5e6bb319bcb3bffbbbd70a9b85e267173 (patch) | |
tree | a0fbcdb396fcb23e8a9402ab310c5c8ad0d77ed0 /hercules/code/server | |
parent | a5b83b03d6fc567c51abded0736659b7513d91e7 (diff) | |
download | evol-tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.tar.gz evol-tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.tar.bz2 evol-tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.tar.xz evol-tools-855570f5e6bb319bcb3bffbbbd70a9b85e267173.zip |
hercules: add into itemdb collection item name and id.
Diffstat (limited to 'hercules/code/server')
-rw-r--r-- | hercules/code/server/tmw/itemdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
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])) |