Update fetchOrbit.py

LT1AB
Bryan Marfito 2021-03-23 19:01:01 +08:00 committed by GitHub
parent 415a89365c
commit 7c9f061f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -166,10 +166,10 @@ if __name__ == '__main__':
for resulturl, result in parser.fileList:
if oType == 'precise':
match = os.path.join(resulturl, result)
elif oType == 'restituted':
elif oType == "restituted":
tbef, taft, mission = fileToRange(os.path.basename(result))
if (tbef <= fileTSStart) and (taft >= fileTS):
match = url + result
match = os.path.join(resulturl, result)
if match is not None:
success = True