From f76e2962e6146fc7c2098a1afa7f044f7406c5d0 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 28 Oct 2022 20:09:30 +1100 Subject: [PATCH] update set plugin path for python --- Flow.Launcher.Core/ExternalPlugins/PluginEnvironment.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Flow.Launcher.Core/ExternalPlugins/PluginEnvironment.cs b/Flow.Launcher.Core/ExternalPlugins/PluginEnvironment.cs index 402ba0dff..d3ee24e72 100644 --- a/Flow.Launcher.Core/ExternalPlugins/PluginEnvironment.cs +++ b/Flow.Launcher.Core/ExternalPlugins/PluginEnvironment.cs @@ -33,7 +33,6 @@ namespace Flow.Launcher.Core.ExternalPlugins this.pluginSettings = pluginSettings; } //TODO: CHECK IF NEED TO RESET PATH AFTER FLOW UPDATE - // LOG NODE PATH internal IEnumerable PythonSetup() { return Setup(AllowedLanguage.Python, PythonEnv); @@ -60,7 +59,7 @@ namespace Flow.Launcher.Core.ExternalPlugins { case AllowedLanguage.Python: if (!string.IsNullOrEmpty(pluginSettings.PythonFilePath) && FilesFolders.FileExists(pluginSettings.PythonFilePath)) - return SetPathForPluginPairs($"{pluginSettings.PythonFilePath}\\{PythonExecutable}", languageType); + return SetPathForPluginPairs(pluginSettings.PythonFilePath, languageType); break; case AllowedLanguage.TypeScript: