Skip to content

Commit

Permalink
update references
Browse files Browse the repository at this point in the history
  • Loading branch information
ahalev committed Dec 20, 2023
1 parent e4c4ea0 commit 8d7b0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymgrid/envs/base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,4 +423,4 @@ def from_scenario(cls, microgrid_number=0, **kwargs):

@classmethod
def load(cls, stream):
return cls(super().load(stream))
return cls.from_microgrid(super().load(stream))

0 comments on commit 8d7b0a3

Please sign in to comment.