From 126d2338f2a294d3b6bf79a8e0c4bae6d86b0726 Mon Sep 17 00:00:00 2001 From: Fabian Date: Wed, 28 Jul 2021 17:33:07 +0200 Subject: [PATCH] fix: server psrwd issue --- multi_user/operators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi_user/operators.py b/multi_user/operators.py index 8b44235..addd380 100644 --- a/multi_user/operators.py +++ b/multi_user/operators.py @@ -220,7 +220,7 @@ class SessionConnectOperator(bpy.types.Operator): users = bpy.data.window_managers['WinMan'].online_users active_server = get_active_server_preset(context) admin_pass = active_server.admin_password if active_server.use_admin_password else None - server_pass = active_server.server_password if active_server.use_server_password else None + server_pass = active_server.server_password if active_server.use_server_password else '' users.clear() deleyables.clear() @@ -291,7 +291,7 @@ class SessionHostOperator(bpy.types.Operator): runtime_settings = context.window_manager.session users = bpy.data.window_managers['WinMan'].online_users admin_pass = settings.host_admin_password if settings.host_use_admin_password else None - server_pass = settings.host_server_password if settings.host_use_server_password else None + server_pass = settings.host_server_password if settings.host_use_server_password else '' users.clear() deleyables.clear()