From 3842c49d77ddf7e2ab76fcddc8404855f03d204a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Thu, 14 Sep 2023 14:56:51 -0400 Subject: [PATCH] Fix module 'posixpath' has no attribute 'expand' I originally got the wrong function name for expanding user path --- jupyter_remote_desktop_proxy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter_remote_desktop_proxy/__init__.py b/jupyter_remote_desktop_proxy/__init__.py index f8944371..bb635e8c 100644 --- a/jupyter_remote_desktop_proxy/__init__.py +++ b/jupyter_remote_desktop_proxy/__init__.py @@ -31,7 +31,7 @@ def setup_desktop(): vnc_args = [vncserver] socket_args = [] - if not os.path.exists(os.path.expand('~/.vnc/xstartup')): + if not os.path.exists(os.path.expanduser('~/.vnc/xstartup')): vnc_args.extend(['-xstartup', os.path.join(HERE, 'share/xstartup')]) vnc_command = shlex.join(