Skip to content

Commit

Permalink
python-3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Jul 17, 2020
1 parent a15bb93 commit 7ff3bca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/LdrToHdrCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def findMetadata(d, keys, defaultValue):
k = key.lower()
if v is not None:
return v
for dk, dv in d.iteritems():
for dk, dv in d.items():
dkm = dk.lower().replace(" ", "")
if dkm == key.lower():
return dv
Expand Down
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/LdrToHdrMerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def findMetadata(d, keys, defaultValue):
k = key.lower()
if v is not None:
return v
for dk, dv in d.iteritems():
for dk, dv in d.items():
dkm = dk.lower().replace(" ", "")
if dkm == key.lower():
return dv
Expand Down
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/LdrToHdrSampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def findMetadata(d, keys, defaultValue):
k = key.lower()
if v is not None:
return v
for dk, dv in d.iteritems():
for dk, dv in d.items():
dkm = dk.lower().replace(" ", "")
if dkm == key.lower():
return dv
Expand Down

0 comments on commit 7ff3bca

Please sign in to comment.