summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDipesh Amin <yaypunkrock@gmail.com>2011-08-30 23:55:37 +0100
committerDipesh Amin <yaypunkrock@gmail.com>2011-08-30 23:55:37 +0100
commite666fc6e9a6415f009065d3adaed39e0feb70b59 (patch)
treeaf571dceb4ae542a141f0bbbd3e2eb0362cfe6a3
parenta17c2faa9cf3ba50d4d1155870116e09e4cae3e1 (diff)
downloadmanamarket-e666fc6e9a6415f009065d3adaed39e0feb70b59.tar.gz
manamarket-e666fc6e9a6415f009065d3adaed39e0feb70b59.tar.bz2
manamarket-e666fc6e9a6415f009065d3adaed39e0feb70b59.tar.xz
manamarket-e666fc6e9a6415f009065d3adaed39e0feb70b59.zip
remove unneeded line.
-rw-r--r--utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils.py b/utils.py
index 364aeba..d9d0319 100644
--- a/utils.py
+++ b/utils.py
@@ -48,8 +48,7 @@ class ItemDB:
def __init__(self):
print "Loading ItemDB"
self.item_names = {}
- self.itemdb_file = ElementTree()
- self.itemdb_file.parse("data/items.xml")
+ self.itemdb_file = ElementTree(file="data/items.xml")
for item in self.itemdb_file.getroot():
if item.get('id') > 500: