Skip to content

Commit d6f8d8c

Browse files
committed
Fix bug when loading new simulaqron configs from a file
1 parent 37b8729 commit d6f8d8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

simulaqron/settings/simulaqron_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ def load_from_file(self, file_path: Path | str):
122122
new_val = getattr(new_config, field.name)
123123
setattr(self, field.name, new_val)
124124

125+
self.network_config_file = new_config.network_config_file
126+
125127
@classmethod
126128
def _deserialize_from_file(cls, file_path: Path) -> Self:
127129
with file_path.resolve().open("rt") as file:

0 commit comments

Comments
 (0)