Skip to content

Commit 36e522a

Browse files
Bug fix, use the home directory.
1 parent 49ba9cd commit 36e522a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/mmSolver/_api/collection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,9 @@ def _compile(self, prog_fn=None, status_fn=None):
682682
debug_file = maya.cmds.file(query=True, sceneName=True)
683683
debug_file = os.path.basename(debug_file)
684684
debug_file, ext = os.path.splitext(debug_file)
685+
# TODO: Find a way to set the default directory path.
685686
debug_file_path = os.path.join(
686-
os.path.expanduser('${HOME}'),
687+
os.path.expanduser('~/'),
687688
debug_file + '_' + str(i).zfill(6) + '.log')
688689
if len(debug_file) > 0 and debug_file_path is not None:
689690
kwargs['debugFile'] = debug_file_path

0 commit comments

Comments
 (0)