Commit ae3178a2 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find Products

parent aeb55c96
...@@ -36,10 +36,10 @@ def main(argv): ...@@ -36,10 +36,10 @@ def main(argv):
else: else:
# with suppress_stdout(): # with suppress_stdout():
# with contextlib.redirect_stdout(None): # with contextlib.redirect_stdout(None):
list = findSentinelProducts(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5]) productList = findSentinelProducts(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5])
for l in list: for l in productList:
print(list[l]['filename']) print(productList[l]['filename'])
print(json.dumps(list)) print(json.dumps(productList))
if __name__ == "__main__": if __name__ == "__main__":
main(sys.argv) main(sys.argv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment