mirror of
https://github.com/MiSTer-devel/Distribution_MiSTer.git
synced 2026-05-24 03:03:20 +00:00
Ignoring FileNotFoundError on README.md
This commit is contained in:
committed by
GitHub
parent
9c78944e00
commit
7196917dd6
15
.github/calculate_db.py
vendored
15
.github/calculate_db.py
vendored
@@ -76,14 +76,17 @@ def main(dryrun):
|
||||
print('No changes deteted.')
|
||||
return
|
||||
|
||||
tag_list = '`' + '`, `'.join(tags.get_report_terms()) + '`'
|
||||
print('TAG_LIST: ' + tag_list)
|
||||
try:
|
||||
tag_list = '`' + '`, `'.join(tags.get_report_terms()) + '`'
|
||||
print('TAG_LIST: ' + tag_list)
|
||||
|
||||
with open("README.md", "rt") as fin:
|
||||
readme_content = fin.read()
|
||||
with open("README.md", "rt") as fin:
|
||||
readme_content = fin.read()
|
||||
|
||||
with open("README.md", "wt") as fout:
|
||||
fout.write(readme_content.replace('ALL_TAGS_GO_HERE', tag_list))
|
||||
with open("README.md", "wt") as fout:
|
||||
fout.write(readme_content.replace('ALL_TAGS_GO_HERE', tag_list))
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
print('check_test: ' + str(check_test))
|
||||
if check_test:
|
||||
|
||||
Reference in New Issue
Block a user