From 318b6caf5f4dde3842997ccc6a42b34ef1fe9fd8 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 12 Aug 2018 16:19:15 -0500 Subject: [PATCH] Change type of vlc's environment variables --- src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index db54a7af..d557d8b6 100644 --- a/src/main.py +++ b/src/main.py @@ -45,8 +45,8 @@ if system == "Windows": arch="x86" if platform.architecture()[0][:2] == "64": arch="x64" - os.environ['PYTHON_VLC_MODULE_PATH']=os.path.abspath(paths.app_path("..", "windows-dependencies", arch)) - os.environ['PYTHON_VLC_LIB_PATH']=os.path.abspath(paths.app_path("..", "windows-dependencies", arch, "libvlc.dll")) + os.environ['PYTHON_VLC_MODULE_PATH']=str(os.path.abspath(paths.app_path("..", "windows-dependencies", arch))) + os.environ['PYTHON_VLC_LIB_PATH']=str(os.path.abspath(paths.app_path("..", "windows-dependencies", arch, "libvlc.dll"))) #the final log files have been opened succesfully, let's close the temporary files stdout_temp.close() stderr_temp.close()