This commit is contained in:
2025-08-29 17:06:47 -04:00
parent 2ec5d060d3
commit a9b50105a6
2 changed files with 34 additions and 47 deletions

View File

@@ -18,7 +18,6 @@ class Willexecutors:
def save(bal_plugin, willexecutors):
aw=bal_plugin.WILLEXECUTORS.get()
aw[constants.net.NET_NAME]=willexecutors
print("save",aw)
bal_plugin.WILLEXECUTORS.set(aw)
def get_willexecutors(bal_plugin, update = False,bal_window=False,force=False,task=True):
@@ -46,7 +45,7 @@ class Willexecutors:
if ping_willexecutors:
if task:
bal_window.ping_willexecutors(willexecutors)
bal_window.ping_willexecutors(willexecutors,task)
else:
bal_window.ping_willexecutors_task(willexecutors)
w_sorted = dict(sorted(willexecutors.items(), key=lambda w:w[1].get('sort',0),reverse=True))