File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -545,17 +545,11 @@ def get_task_lists(username):
545545 for id in completed_otherPet_ids :
546546 if other_pet_task .id == id ['taskId' ]:
547547 other_pet_task .isCompleted = True
548- else :
549- other_pet_task .isCompleted = False
548+
550549
551550 otherPets .append (other_pet_task )
552551
553552 return bossPets , tasklists .skill_pet , tasklists .other_pet
554- bossPets = list ()
555- for task in tasklists .boss_pet :
556- task_data = TaskData ()
557- # bossPets = list(map(lambda x: x['taskId'], task_list_query['tiers']['bossPets']['completedTasks']))
558- print (bossPets )
559553 # task_query_easy = coll.find({'username': username}, {'easyTasks': 1})
560554 # task_query_medium = coll.find({'username': username}, {'mediumTasks': 1})
561555 # task_query_hard = coll.find({'username': username}, {'hardTasks': 1})
@@ -1422,6 +1416,7 @@ def fix_gerni():
14221416 # }
14231417 # )
14241418if __name__ == "__main__" :
1425- fix_gerni ()
1419+ get_task_lists ('GerniSleep' )
1420+ # fix_gerni()
14261421 # get_task_lists('GerniSleep')
14271422 pass
Original file line number Diff line number Diff line change 1112111121 "_id" : 119 ,
1112211122 "name" : " Get an Ectoplasmator" ,
1112311123 "tip" : " Can be purchased as a reward from the Soul Wars Minigame. " ,
11124- "wikiLink" : " https://runescape.wiki/w/Ectoplasmator" ,
11124+ "wikiLink" : " https://oldschool. runescape.wiki/w/Ectoplasmator" ,
1112511125 "wikiImage" : " https://oldschool.runescape.wiki/images/thumb/0/0a/Ectoplasmator_detail.png/130px-Ectoplasmator_detail.png?6fbc0" ,
1112611126 "assetImage" : " 130px-Ectoplasmator_detail.png" ,
1112711127 "colLogData" : {
You can’t perform that action at this time.
0 commit comments