diff --git a/src/datadoc/frontend/callbacks/dataset.py b/src/datadoc/frontend/callbacks/dataset.py index 054e70b2..d00ece42 100644 --- a/src/datadoc/frontend/callbacks/dataset.py +++ b/src/datadoc/frontend/callbacks/dataset.py @@ -77,8 +77,6 @@ def open_dataset_handling( "\n".join(traceback.format_exception_only(type(e), e)), state.current_metadata_language.value, ) - - # opened-dataset-success if n_clicks and n_clicks > 0: dapla_dataset_path_info = DaplaDatasetPathInfo(file_path) if not dapla_dataset_path_info.path_complies_with_naming_standard(): @@ -90,7 +88,6 @@ def open_dataset_handling( state.current_metadata_language.value, ) return True, False, False, "", state.current_metadata_language.value - # no message return False, False, False, "", state.current_metadata_language.value