Skip to content
Snippets Groups Projects
Commit 30625291 authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Py3 has not iteritems

parent 5b8f3d39
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ def openm3(input_data):
def metadatatoband(metadata):
wv2band = []
for k, v in metadata.iteritems():
for k, v in metadata.items():
try:
wv2band.append(float(value))
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment