Fix open_folder() on windows

This commit is contained in:
Moritz Brückner 2019-09-26 16:50:35 +02:00
parent 07bc1b8257
commit 377cf055c2

View file

@ -583,7 +583,7 @@ def open_editor(hx_path=None):
def open_folder():
if arm.utils.get_os() == 'win':
subprocess.Popen('explorer /select,"' + arm.utils.get_fp() + '"')
subprocess.Popen(['explorer', arm.utils.get_fp()])
elif arm.utils.get_os() == 'mac':
subprocess.Popen(['open', arm.utils.get_fp()])
elif arm.utils.get_os() == 'linux':