Skip to content

Commit

Permalink
[nodes] CameraInit: use os.path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Sep 2, 2021
1 parent 02043fd commit 231309b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/CameraInit.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def createViewpointsFile(self, node, additionalViews=()):
"featureFolder": "",
"matchingFolder": "",
}
node.viewpointsFile = (node.nodeDesc.internalFolder + '/viewpoints.sfm').format(**node._cmdVars)
node.viewpointsFile = os.path.join(node.nodeDesc.internalFolder, 'viewpoints.sfm').format(**node._cmdVars)
with open(node.viewpointsFile, 'w') as f:
json.dump(sfmData, f, indent=4)

Expand Down

0 comments on commit 231309b

Please sign in to comment.