mirror of
https://github.com/weewx/weewx.git
synced 2026-05-19 07:15:18 -04:00
Merge branch 'master' of https://github.com/weewx/weewx into ws1_improved
This commit is contained in:
@@ -1067,7 +1067,7 @@ class CWOPThread(RESTThread):
|
||||
# Unsuccessful. Close it in case it was open:
|
||||
try:
|
||||
_sock.close()
|
||||
except socket.error:
|
||||
except AttributeError, socket.error:
|
||||
pass
|
||||
raise ConnectError(e)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user