Closed Microwave-WYB closed 7 months ago
os.path.expanduser should be used with ~. It expands the ~ symbol to the current user's home directory. However, in the current code:
os.path.expanduser
~
"dali": os.path.expanduser(f"/dali/lgrandi/{USER}/tmp"),
The path is an absolute path, so os.path.expanduser will have no effect. This will not lead to errors but should be replaced with an f-string.
Already fixed.
os.path.expanduser
should be used with~
. It expands the~
symbol to the current user's home directory. However, in the current code:The path is an absolute path, so
os.path.expanduser
will have no effect. This will not lead to errors but should be replaced with an f-string.