preparescript: Fix addcoin

This commit is contained in:
tecnovert committed 2022-08-18 00:23:51 +02:00
1 parent 48e5dcbcc9
commit e4e35b0d89
3 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -608,7 +608,8 @@ class BasicSwap(BaseApp):
stopping = True
time.sleep(i + 1)
except Exception as ex:
if 'Could not connect' in str(ex):
str_ex = str(ex)
if 'Could not connect' in str_ex or 'Could not locate RPC credentials' in str_ex:
if stopping:
for i in range(30):
# The lock file doesn't get deleted