Update openhands/runtime/client/client.py

This commit is contained in:
Robert Brennan 2024-09-19 15:26:57 -04:00 committed by GitHub
parent b24066fb64
commit 9aaecfbc68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ class RuntimeClient:
logger.info('Runtime client initialized.')
def _init_user(self, username: str, user_id: int) -> None:
"""Create user if not exists."""
"""Create user if the user doesn't exist."""
# Skip root since it is already created
if username == 'root':
return