Skip to content

Commit

Permalink
clean up file load error message
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbenhorin committed Aug 25, 2016
1 parent a3e2961 commit e2f13a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/maya_warpper.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def open_scene(path = None):
if os.path.exists(path):
checkState()
insert_recent_file(path)
return cmds.file(path, o = True, f = True, esn = True)
opend = cmds.file(path, o = True, f = True, esn = True)
logging.info("{}".format(opend))
return opend

def insert_recent_file(path):
cmds.optionVar(stringValueAppend=('RecentFilesList', path))
Expand Down

0 comments on commit e2f13a1

Please sign in to comment.