Update env.py
Browse files
env.py
CHANGED
|
@@ -31,7 +31,7 @@ def _download_and_import(filename: str):
|
|
| 31 |
content = f.read()
|
| 32 |
|
| 33 |
# Replace relative imports (e.g., "from .errors" -> "from errors")
|
| 34 |
-
|
| 35 |
content = content.replace("from .isaaclab_env_wrapper import", "from isaaclab_env_wrapper import")
|
| 36 |
|
| 37 |
# Create module and execute modified content
|
|
|
|
| 31 |
content = f.read()
|
| 32 |
|
| 33 |
# Replace relative imports (e.g., "from .errors" -> "from errors")
|
| 34 |
+
content = content.replace("from .errors import", "from errors import")
|
| 35 |
content = content.replace("from .isaaclab_env_wrapper import", "from isaaclab_env_wrapper import")
|
| 36 |
|
| 37 |
# Create module and execute modified content
|