@@ -159,6 +159,7 @@ def __initialize_variables(self):
159
159
self._language = "English"
160
160
self._presentation_slides = {}
161
161
self._presentation_transition = {}
162
+ self._output_file_saves = True # For Presenter / ChartMaker
162
163
self._rec_overrides_switch = True # Recorder-Mode uses set_c vs switch
163
164
self._sb_test_identifier = None
164
165
self._html_report_extra = [] # (Used by pytest_plugin.py)
@@ -11187,7 +11188,8 @@ def save_presentation(
11187
11188
out_file = codecs.open(file_path, "w+", encoding="utf-8")
11188
11189
out_file.writelines(the_html)
11189
11190
out_file.close()
11190
- print("\n>>> [%s] was saved!\n" % file_path)
11191
+ if self._output_file_saves:
11192
+ print("\n>>> [%s] was saved!\n" % file_path)
11191
11193
return file_path
11192
11194
11193
11195
def begin_presentation(
@@ -11885,7 +11887,8 @@ def save_chart(self, chart_name=None, filename=None, folder=None):
11885
11887
out_file = codecs.open(file_path, "w+", encoding="utf-8")
11886
11888
out_file.writelines(the_html)
11887
11889
out_file.close()
11888
- print("\n>>> [%s] was saved!" % file_path)
11890
+ if self._output_file_saves:
11891
+ print("\n>>> [%s] was saved!" % file_path)
11889
11892
return file_path
11890
11893
11891
11894
def display_chart(self, chart_name=None, filename=None, interval=0):
0 commit comments