From 7c9f061f590574808c6cf37df63c8749ecc977c1 Mon Sep 17 00:00:00 2001 From: Bryan Marfito Date: Tue, 23 Mar 2021 19:01:01 +0800 Subject: [PATCH] Update fetchOrbit.py --- contrib/stack/topsStack/fetchOrbit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/stack/topsStack/fetchOrbit.py b/contrib/stack/topsStack/fetchOrbit.py index 820bb6b..a52f990 100755 --- a/contrib/stack/topsStack/fetchOrbit.py +++ b/contrib/stack/topsStack/fetchOrbit.py @@ -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