@ -1036,6 +1039,7 @@ class NsmServerControl(object):
Emptystringis"No session"or"Choose A Session"mode.
"""
l=len(parameters)
ifl==2:
nsmSessionName,sessionPath=parameters
@ -1044,12 +1048,13 @@ class NsmServerControl(object):
self.internalState["currentSession"]=None#sessionCloseHooked triggers rebuilding of the session list, which will not work when there is a current session.
self.sessionClosedHook()
else:
sessionPath=sessionPath.lstrip("/")
#Session path is the subdirectory relative to session root. The session root is not included.
sessionPath=sessionPath.lstrip("/")#we strip for technical reasons.
logger.info(f"Current Session changed. We are now {nsmSessionName} in {sessionPath}")