Skip to content

Commit 6c01e40

Browse files
committed
black
1 parent 07b7649 commit 6c01e40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyhilo/util/state.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ async def set_state(
110110
async with lock: # note ic-dev21: on lock le fichier pour être sûr de finir la job
111111
current_state = await get_state(state_yaml) or {}
112112
merged_state: dict[str, Any] = {
113-
key: {**current_state.get(key, {}), **state}} # type: ignore
113+
key: {**current_state.get(key, {}), **state}
114+
} # type: ignore
114115
new_state: dict[str, Any] = {**current_state, **merged_state}
115116
async with aiofiles.open(state_yaml, mode="w") as yaml_file:
116117
LOG.debug("Saving state to yaml file")

0 commit comments

Comments
 (0)