sharepoint relative path fix
This commit is contained in:
parent
c873f96848
commit
c161a93796
1 changed files with 4 additions and 1 deletions
|
|
@ -1000,7 +1000,10 @@ def _registerCoreTools(registry: ToolRegistry, services):
|
||||||
try:
|
try:
|
||||||
connectionId, service, basePath = await _resolveDataSource(dsId)
|
connectionId, service, basePath = await _resolveDataSource(dsId)
|
||||||
if subPath:
|
if subPath:
|
||||||
browsePath = subPath
|
if subPath.startswith("/"):
|
||||||
|
browsePath = subPath
|
||||||
|
else:
|
||||||
|
browsePath = f"{basePath.rstrip('/')}/{subPath}"
|
||||||
else:
|
else:
|
||||||
browsePath = basePath
|
browsePath = basePath
|
||||||
from modules.connectors.connectorResolver import ConnectorResolver
|
from modules.connectors.connectorResolver import ConnectorResolver
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue