issue #5 in python version caused by feeding bad path arg to glob.glob… #18

Closed
kyng-codeops wants to merge 1 commit from fix/issue_5_python_concat into master
kyng-codeops commented 2018-11-23 17:21:45 -08:00 (Migrated from github.com)

…, then constructing incorrect path+file of pulverize_input_files.txt in file_list.

…, then constructing incorrect path+file of pulverize_input_files.txt in file_list.
diramazioni (Migrated from github.com) requested changes 2019-06-14 04:20:45 -07:00
diramazioni (Migrated from github.com) left a comment

I've solved it differently, instead of relying on the output of the utilfile I check if the path start with "//" and concat that to the blend file argument:

    if outdir[0:2] == "//":
       outdir = os.path.dirname(os.path.realpath(args.blendfile)) + outdir[1:] 

In any case this problem should be solved, I was about to make a PR when I saw yours

I've solved it differently, instead of relying on the output of the utilfile I check if the path start with "//" and concat that to the blend file argument: ``` if outdir[0:2] == "//": outdir = os.path.dirname(os.path.realpath(args.blendfile)) + outdir[1:] ``` In any case this problem should be solved, I was about to make a PR when I saw yours

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sciactive/pulverize!18
No description provided.