From e73efcc78e303cc01be5944dd9a62883f7aed733 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Fri, 5 Jan 2018 12:25:21 -0500 Subject: [PATCH] catch any kind of timeout in the wmr300 driver --- bin/weewx/drivers/wmr300.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/weewx/drivers/wmr300.py b/bin/weewx/drivers/wmr300.py index 142d04e0..8ed9075e 100644 --- a/bin/weewx/drivers/wmr300.py +++ b/bin/weewx/drivers/wmr300.py @@ -786,7 +786,7 @@ import weewx.wxformulas from weeutil.weeutil import timestamp_to_string DRIVER_NAME = 'WMR300' -DRIVER_VERSION = '0.19rc2' +DRIVER_VERSION = '0.19rc3' DEBUG_COMM = 0 DEBUG_PACKET = 0 @@ -849,6 +849,7 @@ def is_noerr(e): # strings for the timeout error USB_TIMEOUT_MESSAGES = [ + 'Connection timed out', 'Operation timed out'] # detect usb timeout error (errno 110)