Skip to content

Commit 74422aa

Browse files
bug fix (double quote in fstring)
1 parent 6b07a53 commit 74422aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/browsergym/workarena/tasks/form_workspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def validate(
416416
)["result"]
417417

418418
if len(child_records) == 0:
419-
error_msg = f"The {self.config["child_table"]} records were not found in the database. We are missing some fields."
419+
error_msg = f"The {self.config['child_table']} records were not found in the database. We are missing some fields."
420420
logging.info(error_msg)
421421
return (
422422
0,
@@ -428,7 +428,7 @@ def validate(
428428
num_expected_child_records = self.config.get("num_expected_child_records", 1)
429429

430430
if len(child_records) != num_expected_child_records:
431-
error_msg = f"Found {len(child_records)} {self.config["child_table"]} records, expected {num_expected_child_records}."
431+
error_msg = f"Found {len(child_records)} {self.config['child_table']} records, expected {num_expected_child_records}."
432432
logging.info(error_msg)
433433
return (
434434
0,

0 commit comments

Comments
 (0)