@@ -2,20 +2,20 @@ diff --git a/sound-output-device-chooser@kgshank.net/convenience.js b/sound-outp
22index 54ad06f..0860531 100644
33--- a/sound-output-device-chooser@kgshank.net/convenience.js
44+++ b/sound-output-device-chooser@kgshank.net/convenience.js
5−@@ -129,7 +129,7 @@ function refreshCards() {
6− if(_settings.get_boolean(Prefs.NEW_PROFILE_ID)) {
5+@@ -142,7 +142,7 @@ function refreshCards() {
6+ if (newProfLogic) {
77 _log("New logic");
8− let pyLocation = Me.dir.get_child('utils/pa_helper.py').get_path();
9−- let pythonExec = 'python';
8+ let pyLocation = Me.dir.get_child("utils/pa_helper.py").get_path();
9+- let pythonExec = ["python", "python3", "python2"].find(cmd => isCmdFound(cmd));
1010+ let pythonExec = '@python@';
11− let pyVer = 3;
12− while(!isCmdFound(pythonExec) && pyVer >=2){
13− _log(pythonExec + " is not found. Try next");
11+ if (!pythonExec) {
12+ _log("ERROR: Python not found. fallback to default mode");
13+ _settings.set_boolean(Prefs.NEW_PROFILE_ID, false);
1414diff --git a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
1515index c4d2484..262608d 100644
1616--- a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
1717+++ b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py
18−@@ -86,7 +86,7 @@ else:
18+@@ -82,7 +82,7 @@ else:
1919
2020 _libraries = {}
2121