When sending a file to execfile() I also pass on 'file' which is great. Now my scripts can import or link to other files which locations are defined relative to the script file's file path ('file').
I wasn't sure on how to pull the latest file from your repo and go from there, so I copy-pasted the contents of your current MayaSublime.py and edited the two parts accordingly (which kind of messed up the diff that is shown here when typing this request) and made a commit. Seems like now GitHub wants to make two commits to your code – which wasn't what I intended.. This is all I was wishing to add to your repo:
When sending a file to execfile() I also pass on 'file' which is great. Now my scripts can import or link to other files which locations are defined relative to the script file's file path ('file').
I wasn't sure on how to pull the latest file from your repo and go from there, so I copy-pasted the contents of your current MayaSublime.py and edited the two parts accordingly (which kind of messed up the diff that is shown here when typing this request) and made a commit. Seems like now GitHub wants to make two commits to your code – which wasn't what I intended.. This is all I was wishing to add to your repo:
and...
I'll close the issue I made regarding this.