From 53ded87f3b10dea48ea3fc8a192a86d00d7b6d84 Mon Sep 17 00:00:00 2001 From: Andrew Grant Date: Mon, 28 Jun 2021 19:40:02 -0400 Subject: [PATCH] Abort on failed task pickups in fleet mode --- Client/Client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Client/Client.py b/Client/Client.py index 5564f2b..22fd28f 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -203,6 +203,7 @@ def try_until_success(mesg): except Exception: print('[Error]', mesg); if not FLEET_MODE: time.sleep(TIMEOUT_ERROR) + if FLEET_MODE and mesg == ERRORS['request']: sys.exit() if DEBUG: traceback.print_exc() return __try_until_success return _try_until_success