From f0e573a7bab038a79bdd05ffee2ad3642e478cd6 Mon Sep 17 00:00:00 2001 From: Rose Heart Date: Thu, 14 Nov 2024 15:59:25 +0000 Subject: [PATCH] Bug fix in file detection of an OliverTwist index. Changes to be committed: modified: Base/Library/OliverTwist-oanda.py --- Base/Library/OliverTwist-oanda.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Base/Library/OliverTwist-oanda.py b/Base/Library/OliverTwist-oanda.py index ae20e70..0184711 100755 --- a/Base/Library/OliverTwist-oanda.py +++ b/Base/Library/OliverTwist-oanda.py @@ -634,6 +634,9 @@ def OrderProcessor(osh): # shLock.Lock() try: + if not os.path.exits(idx): + return 'Waiting' + OrphanList=ReadStorehouse(idx=idx) if len(OrphanList)==0: return 'Waiting'