Fix for subsystem python module

This commit is contained in:
Oleg Korshul
2025-02-25 16:55:32 +03:00
parent 09b55bd1f1
commit 46f6ba4d0a

View File

@ -191,7 +191,7 @@ namespace NSDoctRenderer
m_strSdkPath = oNode.ReadNodeText(L"sdkjs"); m_strSdkPath = oNode.ReadNodeText(L"sdkjs");
if (!m_strSdkPath.empty()) if (!m_strSdkPath.empty())
{ {
if (!NSDirectory::Exists(m_strSdkPath)) if (0 == m_strSdkPath.find(L"./") || !NSDirectory::Exists(m_strSdkPath))
m_strSdkPath = sConfigDir + m_strSdkPath; m_strSdkPath = sConfigDir + m_strSdkPath;
} }