diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/pdf_creator.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/pdf_creator.py index 73863b5e..01d0a55d 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/pdf_creator.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/pdf_creator.py @@ -86,7 +86,7 @@ def add_list_of_dicts_as_text(self, data_list, title=None, headers=None): def add_dataframe_as_text(self, data_frame, title=None): """Adds a DataFrame to the PDF as aligned text without row numbers.""" - if data_frame is None or not isinstance(data_frame, pd.DataFrame) or data_frame.empty: + if not isinstance(data_frame, pd.DataFrame) or data_frame.empty: return if title: