diff --git a/tools/render-wiki-list.py b/tools/render-wiki-list.py index 1addc06e..040ebda8 100755 --- a/tools/render-wiki-list.py +++ b/tools/render-wiki-list.py @@ -14,7 +14,8 @@ def main(argv): candidates_list = build_candidates_list("newton") if argv[1] == "PTL": - candidates_list['projects'].remove('TC') + if 'TC' in candidates_list['projects']: + candidates_list['projects'].remove('TC') else: candidates_list['projects'] = ['TC']