Skip to content

Commit 6e867d5

Browse files
committed
fix comments
1 parent 33af7e6 commit 6e867d5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tuner/frozen_lake/_frozenlake_env.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def __init__(
8989
self.goal_position = goal_position
9090

9191
super().__init__(
92-
self,
9392
desc=random_map[:],
9493
is_slippery=self.is_slippery,
9594
)
@@ -283,13 +282,8 @@ def reset(
283282
# Reinitialize parent class with new map
284283
try:
285284
import gymnasium as gym
286-
from gymnasium.envs.toy_text.frozen_lake import (
287-
FrozenLakeEnv as GymFrozenLakeEnvLocal,
288-
)
289-
290-
# Initialize parent class with new parameters
291-
GymFrozenLakeEnvLocal.__init__( # noqa: C2801, PLC2801
292-
self,
285+
286+
super().__init__(
293287
desc=random_map[:],
294288
is_slippery=self.is_slippery,
295289
)

0 commit comments

Comments
 (0)