mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
check location exists if python path is already set
This commit is contained in:
parent
e125d59c6e
commit
5fbde3779d
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
if (!source.Any(o => o.Language.ToUpper() == AllowedLanguage.Python))
|
||||
return new List<PluginPair>();
|
||||
|
||||
if (!string.IsNullOrEmpty(settings.PythonDirectory))
|
||||
if (!string.IsNullOrEmpty(settings.PythonDirectory) && FilesFolders.LocationExists(settings.PythonDirectory))
|
||||
return SetPythonPathForPluginPairs(source, Path.Combine(settings.PythonDirectory, PythonExecutable));
|
||||
|
||||
var pythonPath = string.Empty;
|
||||
|
|
|
|||
Loading…
Reference in a new issue