Skip to content

Added os.path.join for concatenation of paths#3

Open
cweickhmann wants to merge 1 commit into
paxetgloria:masterfrom
cweickhmann:master
Open

Added os.path.join for concatenation of paths#3
cweickhmann wants to merge 1 commit into
paxetgloria:masterfrom
cweickhmann:master

Conversation

@cweickhmann

Copy link
Copy Markdown

Heya,

I haven't been able to fully test the addon, but at least on a Linux machine it now loads.
Please review my changes. They are intended to allow for Linux (and maybe Mac) compatibility.
In your version of the scripts, the main problem is the way you concatenate your folder names (using hard-coded backslashes "\" breaks compability).
Check out os.path and there in particular

  • os.path.join()
  • os.path.split()
  • os.path.sep

Bests,
Christian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant