Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiepeng committed Jul 12, 2024
1 parent bcf6e51 commit 8e2f154
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,7 @@ def on_modal_close(
"modal_is_open": False,
"data_path_str": data_path,
"test_case_str": case_val,
"log_file_str": os.path.join(
file_dict["path"][len(case_dir) :], file_dict["name"]
),
"log_file_str": file_dict["label"],
"current_file_update": dash.no_update,
"add_file_value": dash.no_update,
"add_file_options": dash.no_update,
Expand All @@ -273,9 +271,7 @@ def on_modal_close(
"modal_is_open": False,
"data_path_str": data_path,
"test_case_str": case_val,
"log_file_str": os.path.join(
file_dict["path"][len(case_dir) :], file_dict["name"]
),
"log_file_str": file_dict["label"],
"current_file_update": file_value,
"add_file_value": [],
"add_file_options": file_options,
Expand Down

0 comments on commit 8e2f154

Please sign in to comment.