From 66e76604941cd27a924cf2569717ad20003dbcbd Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Sat, 23 Sep 2023 01:30:45 +0100 Subject: [PATCH] ~ --- tool/readme_table.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tool/readme_table.py b/tool/readme_table.py index 4351c036..b5b64cb1 100644 --- a/tool/readme_table.py +++ b/tool/readme_table.py @@ -74,7 +74,7 @@ def print_providers(): ] providers = get_providers() - #responses = asyncio.run(test_async_list(providers)) + responses = asyncio.run(test_async_list(providers)) for is_working in (True, False): for idx, _provider in enumerate(providers): @@ -94,10 +94,10 @@ def print_providers(): can_async = "✔️" if issubclass(_provider, AsyncProvider) else "❌" if _provider.working: status = '![Active](https://img.shields.io/badge/Active-brightgreen)' - # if responses[idx]: - # status = '![Active](https://img.shields.io/badge/Active-brightgreen)' - # else: - # status = '![Unknown](https://img.shields.io/badge/Unknown-grey)' + if responses[idx]: + status = '![Active](https://img.shields.io/badge/Active-brightgreen)' + else: + status = '![Unknown](https://img.shields.io/badge/Unknown-grey)' else: status = '![Inactive](https://img.shields.io/badge/Inactive-red)' auth = "✔️" if _provider.needs_auth else "❌" @@ -151,8 +151,8 @@ def get_models(): if __name__ == "__main__": - # print_imports() - # print_async() + print_imports() + print_async() print_providers() - # print("\n", "-" * 50, "\n") - # print_models() \ No newline at end of file + print("\n", "-" * 50, "\n") + print_models() \ No newline at end of file