mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix import order for Windows PowerShell support (#11557)
This commit is contained in:
committed by
GitHub
parent
b31dbfc21a
commit
2a98cd9338
@@ -57,8 +57,8 @@ if TYPE_CHECKING:
|
||||
# Import Windows PowerShell support if on Windows
|
||||
if sys.platform == 'win32':
|
||||
try:
|
||||
from openhands.runtime.utils.windows_bash import WindowsPowershellSession
|
||||
from openhands.runtime.utils.windows_exceptions import DotNetMissingError
|
||||
from openhands.runtime.utils.windows_bash import WindowsPowershellSession # isort: skip
|
||||
except (ImportError, DotNetMissingError) as err:
|
||||
# Print a user-friendly error message without stack trace
|
||||
friendly_message = """
|
||||
|
||||
Reference in New Issue
Block a user