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

find Products

parent aeb55c96
......@@ -36,10 +36,10 @@ def main(argv):
else:
# with suppress_stdout():
# with contextlib.redirect_stdout(None):
list = findSentinelProducts(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5])
for l in list:
print(list[l]['filename'])
print(json.dumps(list))
productList = findSentinelProducts(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5])
for l in productList:
print(productList[l]['filename'])
print(json.dumps(productList))
if __name__ == "__main__":
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