mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 13:36:31 +02:00
[nodes] ldrToHdr: fix for python-2 compatibility
This commit is contained in:
parent
119bc21073
commit
0ff28eed14
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def findMetadata(d, keys, defaultValue):
|
|||
k = key.lower()
|
||||
if v != None:
|
||||
return v
|
||||
for dk, dv in d:
|
||||
for dk, dv in d.iteritems():
|
||||
dkm = dk.lower().replace(" ", "")
|
||||
if dkm == key.lower():
|
||||
return dv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue