Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JanhSander committed Apr 4, 2024
1 parent 94782d9 commit eeb802b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/datadoc/frontend/callbacks/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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

Expand Down

0 comments on commit eeb802b

Please sign in to comment.