|
|
@ -145,6 +145,12 @@ class BuyableItemHandler(BaseHandler):
|
|
|
|
ret.write("\nThe items/deposists parameter have to be a list.\n")
|
|
|
|
ret.write("\nThe items/deposists parameter have to be a list.\n")
|
|
|
|
return ret
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if len(itemList) == 0:
|
|
|
|
|
|
|
|
ret = rc.BAD_REQUEST
|
|
|
|
|
|
|
|
ret.write("\nYour request contains no items/deposits.\n")
|
|
|
|
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ids = {}
|
|
|
|
ids = {}
|
|
|
|
for item in itemList:
|
|
|
|
for item in itemList:
|
|
|
|
if not ids.has_key(item):
|
|
|
|
if not ids.has_key(item):
|
|
|
|