Skip to content

Commit c21413e

Browse files
committed
📝 To discuss
1 parent 0d5c0d8 commit c21413e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vuegen/streamlit_reportview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,8 @@ def _generate_dataframe_content(self, dataframe) -> List[str]:
642642
self.report.logger.error(
643643
f"Unsupported file extension: {file_extension}. Supported extensions are: {', '.join(fmt.value for fmt in r.DataFrameFormat)}."
644644
)
645-
# ? Does this skip the execution step?
645+
# return [] # Skip execution if unsupported file extension
646+
# Should it not return here? Can we even call the method with an unsupported file extension?
646647

647648
if file_extension in [
648649
r.DataFrameFormat.XLS.value_with_dot,

0 commit comments

Comments
 (0)