Skip to content

Commit d405373

Browse files
committed
actually use variable in fstring and update comment for better syntax highlighting
1 parent 9f749fb commit d405373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/cc0_update.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
FAQ_TRANSLATION_LINK = "/FAQ#officialtranslations"
3636
FOOTER_COMMENTS = [
3737
"<!-- Language Footer Start - DO NOT DELETE -->",
38-
"<!-- Language Footer End --- DO NOT DELETE -->",
38+
"<!-- Language Footer End - - DO NOT DELETE -->",
3939
]
4040

4141

@@ -174,7 +174,7 @@ def insert_missing_lang_footer_comments(args, filename, content):
174174
def has_correct_faq_officialtranslations(content):
175175
"""Determine if the link to the tranlsation FAQ is correct.
176176
"""
177-
if content.find(f'"FAQ_TRANSLATION_LINK"') == -1:
177+
if content.find(f'"{FAQ_TRANSLATION_LINK}"') == -1:
178178
return False
179179
return True
180180

0 commit comments

Comments
 (0)