daemon: refactored session.session_dir to session.directory
This commit is contained in:
parent
1c970bbe00
commit
a2148c6923
8 changed files with 32 additions and 34 deletions
|
@ -285,7 +285,7 @@ def expand_corepath(
|
|||
if session is not None:
|
||||
pathname = pathname.replace("~", f"/home/{session.user}")
|
||||
pathname = pathname.replace("%SESSION%", str(session.id))
|
||||
pathname = pathname.replace("%SESSION_DIR%", str(session.session_dir))
|
||||
pathname = pathname.replace("%SESSION_DIR%", str(session.directory))
|
||||
pathname = pathname.replace("%SESSION_USER%", session.user)
|
||||
if node is not None:
|
||||
pathname = pathname.replace("%NODE%", str(node.id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue