Bump Dev, and fix import errors (#474)
This commit is contained in:
@@ -18,8 +18,8 @@ debug = False
|
|||||||
saveInRoot = False
|
saveInRoot = False
|
||||||
|
|
||||||
# Version data
|
# Version data
|
||||||
version = "1.17.1"
|
version = "1.17.2"
|
||||||
tag = "Stable"
|
tag = "git"
|
||||||
expansionName = "Frostline"
|
expansionName = "Frostline"
|
||||||
expansionVersion = "1.0"
|
expansionVersion = "1.0"
|
||||||
evemonMinVersion = "4081"
|
evemonMinVersion = "4081"
|
||||||
|
|||||||
@@ -83,7 +83,6 @@ def getItem(lookfor, eager=None):
|
|||||||
else:
|
else:
|
||||||
# Item names are unique, so we can use first() instead of one()
|
# 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()
|
item = gamedata_session.query(Item).options(*processEager(eager)).filter(Item.name == lookfor).first()
|
||||||
if item:
|
|
||||||
itemNameMap[lookfor] = item.ID
|
itemNameMap[lookfor] = item.ID
|
||||||
else:
|
else:
|
||||||
raise TypeError("Need integer or string as argument")
|
raise TypeError("Need integer or string as argument")
|
||||||
|
|||||||
Reference in New Issue
Block a user