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(
141141 """
142142 Update the README.md file with the generated images and descriptions.
143143 """
144+ if not args .enable_save :
145+ return
146+ LOGGER = args .logger
147+
144148 readme_path = path_join (paths ["data" ], args .quarter , "README.md" )
145149
146150 # Define section markers for each data source
@@ -220,9 +224,9 @@ def update_readme(
220224 with open (readme_path , "w" ) as f :
221225 f .writelines (lines )
222226
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 } ."
226230 )
227231
228232
You can’t perform that action at this time.
0 commit comments