Bump Dev, and fix import errors (#474)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user