Skip to content

Commit 8257d0f

Browse files
committed
Fix script in py 3.11
1 parent 74efdbc commit 8257d0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cfg_to_toml.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ def convert_to_toml(self) -> dict[str, dict[str, Any]]:
113113

114114
toml_dict["settings"] = self._convert_settings()
115115
toml_dict["details"] = self._convert_details()
116-
toml_dict["settings"][
117-
"agent_id"
118-
] = f"{toml_dict["details"]["developer"]}/{toml_dict["settings"]["name"]}"
116+
toml_dict["settings"]["agent_id"] = (
117+
f"{toml_dict['details']['developer']}/{toml_dict['settings']['name']}"
118+
)
119119

120120
return toml_dict
121121

0 commit comments

Comments
 (0)