mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
Sponsorship auto-generate v0.1.3
This commit is contained in:
@@ -83,10 +83,11 @@ def fetch_sponsors():
|
||||
def generate_sponsors_table(sponsors):
|
||||
sponsors_table = "| All Sponsors |\n|---|\n"
|
||||
for sponsor in sponsors:
|
||||
sponsors_table += f"| [{sponsor['name'] or sponsor['login']}]({sponsor['url']}) - ${sponsor['monthly_price'] / 100:.2f} |\n"
|
||||
sponsors_table += f"| [{sponsor['name'] or sponsor['login']}]({sponsor['url']}) |\n"
|
||||
|
||||
return sponsors_table
|
||||
|
||||
|
||||
def update_readme(sponsors_table):
|
||||
global headers
|
||||
repo_owner = "jokob-sk"
|
||||
|
||||
Reference in New Issue
Block a user