We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62e6f9e commit b1a0fbaCopy full SHA for b1a0fba
scripts/shared.py
@@ -141,6 +141,10 @@ def update_readme(
141
"""
142
Update the README.md file with the generated images and descriptions.
143
144
+ if not args.enable_save:
145
+ return
146
+ LOGGER = args.logger
147
+
148
readme_path = path_join(paths["data"], args.quarter, "README.md")
149
150
# Define section markers for each data source
@@ -220,9 +224,9 @@ def update_readme(
220
224
with open(readme_path, "w") as f:
221
225
f.writelines(lines)
222
226
223
- logging.info(
- f"Updated {readme_path} with new image and"
- f"description for {section_title}."
227
+ LOGGER.info(f"README path: {readme_path.replace(paths['repo'], '.')}")
228
+ LOGGER.info(
229
+ f"Updated README with new image and description for {section_title}."
230
)
231
232
0 commit comments