File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,10 @@ def update_readme(
141
141
"""
142
142
Update the README.md file with the generated images and descriptions.
143
143
"""
144
+ if not args .enable_save :
145
+ return
146
+ LOGGER = args .logger
147
+
144
148
readme_path = path_join (paths ["data" ], args .quarter , "README.md" )
145
149
146
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 (
224
- f"Updated { readme_path } with new image and"
225
- 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 } ."
226
230
)
227
231
228
232
You can’t perform that action at this time.
0 commit comments