Skip to content

Commit

Permalink
Fixed end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorgen-5 committed Nov 6, 2024
1 parent 59e6e44 commit a288d9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/datadoc/frontend/callbacks/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ def accept_variable_metadata_date_input(
)

# Save both values to the model if they pass validation.
state.metadata.variables_lookup[variable_short_name].contains_data_from = (
parsed_contains_data_from
)
state.metadata.variables_lookup[variable_short_name].contains_data_until = (
parsed_contains_data_until
)
state.metadata.variables_lookup[
variable_short_name
].contains_data_from = parsed_contains_data_from
state.metadata.variables_lookup[
variable_short_name
].contains_data_until = parsed_contains_data_until
except ValueError as e:
logger.exception(
"Validation failed for %s, %s, %s: %s, %s: %s",
Expand Down

0 comments on commit a288d9b

Please sign in to comment.