From 59f4688d8d38bab08498c7ebee2da4f186f3b4d3 Mon Sep 17 00:00:00 2001 From: HappyZ Date: Wed, 14 Feb 2018 09:32:41 -0600 Subject: [PATCH] device busy error causes exit, try to wait and see if problem solves --- libMeasurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libMeasurement.py b/libMeasurement.py index 8bbacec..ab4e73f 100755 --- a/libMeasurement.py +++ b/libMeasurement.py @@ -249,7 +249,7 @@ def wrapper(args): break except Exception as e: print(str(e)) - break + time.sleep(5) counter += 1