From a57921a0f20ebcd45c2e07d909f2b4e65b006112 Mon Sep 17 00:00:00 2001 From: Maboroshy Date: Fri, 18 Aug 2017 00:24:54 +0300 Subject: [PATCH] Update merge-notes.qml --- merge-notes/merge-notes.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merge-notes/merge-notes.qml b/merge-notes/merge-notes.qml index d6d5133..54018de 100644 --- a/merge-notes/merge-notes.qml +++ b/merge-notes/merge-notes.qml @@ -9,9 +9,9 @@ import QOwnNotesTypes 1.0 Script { /// functions to find correct Python 3 interpreter command and set it as default function getPyCommand() { + if (script.startSynchronousProcess('pythonw', '-V', '').toString().indexOf('Python 3') != '-1') {return 'pythonw'} if (script.startSynchronousProcess('python3', '-V', '').toString().indexOf('Python 3') != '-1') {return 'python3'} if (script.startSynchronousProcess('python', '-V', '').toString().indexOf('Python 3') != '-1') {return 'python'} - if (script.startSynchronousProcess('py', '-V', '').toString().indexOf('Python 3') != '-1') {return 'py'} return '' }