OP-4513 - platform specific logic

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2023-02-08 15:09:26 +01:00 committed by GitHub
parent 707c165f4f
commit 91e1d28a9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,9 +191,8 @@ def get_openpype_executable():
"OpenPypeInstallationDirs", "")
# clean '\ ' for MacOS pasting
if exe_list:
if platform.system().lower() == "darwin":
exe_list = exe_list.replace("\\ ", " ")
if dir_list:
dir_list = dir_list.replace("\\ ", " ")
return exe_list, dir_list