Bump Dev, and fix import errors (#474)

This commit is contained in:
blitzmann
2015-12-13 22:26:36 -05:00
parent d8e2e3ace1
commit 6e7ba714a8
2 changed files with 3 additions and 4 deletions

View File

@@ -18,8 +18,8 @@ debug = False
saveInRoot = False
# Version data
version = "1.17.1"
tag = "Stable"
version = "1.17.2"
tag = "git"
expansionName = "Frostline"
expansionVersion = "1.0"
evemonMinVersion = "4081"

View File

@@ -83,8 +83,7 @@ def getItem(lookfor, eager=None):
else:
# Item names are unique, so we can use first() instead of one()
item = gamedata_session.query(Item).options(*processEager(eager)).filter(Item.name == lookfor).first()
if item:
itemNameMap[lookfor] = item.ID
itemNameMap[lookfor] = item.ID
else:
raise TypeError("Need integer or string as argument")
return item