|
|
"Mr" <nomail@nomail> wrote:
>
> oh, it looks like something is wrong with the slash/backslash\ handling in the
> report. Can you let me know if the last version does work for you?
>
I changed all code. Now we use nodes and bl_use_preview = True
I have no Windows. After I will make changes, users will carry out the test,
then to me will tell
> wheneverpossible using the os.path module methods to concatenate, truncate or
> whatever one has to do with paths makes sure it works more smoothly across
> platforms. possibly one slash should be removed from the hardwritten filename
> and left to be handled by the python's os.path methods, for instance current
> version is:
>
>
> workDir=os.path.dirname(__file__)
> previewDir=os.path.join(workDir, "preview")
>
> ## Make sure Preview directory exists and is empty
> if not os.path.isdir(previewDir):
> os.mkdir(previewDir)
>
> iniPrevFile=os.path.join(previewDir, "Preview.ini")
> inputPrevFile=os.path.join(previewDir, "Preview.pov")
Thanks!
Post a reply to this message
|
|