|
|
@@ -74,8 +74,9 @@ def get_loot_level(this_id):
|
|
|
this_loot_level = 0
|
|
|
this_status_status, this_status_name, this_status_timestamp = _get_status(this_id)
|
|
|
if this_status_status and len(this_status_status) > 1:
|
|
|
- if this_status_status[0] == 'Okay' and 'Loot level' in this_status_status[1]:
|
|
|
- this_loot_level = this_status_status[1][11:].strip()
|
|
|
+ pprint(this_status_status)
|
|
|
+ if this_status_status['description'] == 'Okay' and 'Loot level' in this_status_status['details']:
|
|
|
+ this_loot_level = this_status_status['details'][11:].strip()
|
|
|
# print(this_loot_level)
|
|
|
this_integer = _from_roman_to_integer(this_loot_level)
|
|
|
this_status_dict = {"id": this_id, "name": this_status_name, "integer": this_integer, "roman": this_loot_level,
|