mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-17 02:12:58 +08:00
Strengthening the criteria for granting trust markers.
This commit is contained in:
parent
07aa30fccc
commit
915687f4f4
@ -225,7 +225,7 @@ async def populate_github_stats(json_obj, json_obj_github):
|
|||||||
if url in json_obj_github:
|
if url in json_obj_github:
|
||||||
json_obj['custom_nodes'][i]['stars'] = json_obj_github[url]['stars']
|
json_obj['custom_nodes'][i]['stars'] = json_obj_github[url]['stars']
|
||||||
json_obj['custom_nodes'][i]['last_update'] = json_obj_github[url]['last_update']
|
json_obj['custom_nodes'][i]['last_update'] = json_obj_github[url]['last_update']
|
||||||
json_obj['custom_nodes'][i]['trust'] = json_obj_github[url]['author_account_age_days'] > 180
|
json_obj['custom_nodes'][i]['trust'] = json_obj_github[url]['author_account_age_days'] > 600
|
||||||
else:
|
else:
|
||||||
json_obj['custom_nodes'][i]['stars'] = -1
|
json_obj['custom_nodes'][i]['stars'] = -1
|
||||||
json_obj['custom_nodes'][i]['last_update'] = -1
|
json_obj['custom_nodes'][i]['last_update'] = -1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user