mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
Fix typo in a error message
This commit is contained in:
@@ -254,7 +254,7 @@ def create_app(storage: BaseStorage, debug: bool = False) -> Bottle:
|
||||
study_id = storage.create_new_study(study_name)
|
||||
except DuplicatedStudyError:
|
||||
response.status = 400 # Bad request
|
||||
return {"reason": f"'{study_name}' is already exists"}
|
||||
return {"reason": f"'{study_name}' already exists"}
|
||||
|
||||
storage.set_study_directions(
|
||||
study_id,
|
||||
|
||||
Reference in New Issue
Block a user