We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 342ff67 commit 3f3502dCopy full SHA for 3f3502d
usosapi.py
@@ -160,7 +160,7 @@ def test_connection(self) -> bool:
160
anonymous_session = self._service.get_session()
161
now = anonymous_session.get('services/apisrv/now')
162
now = now.json()
163
- return bool(re.fullmatch(time_re, now))
+ return bool(re.match(time_re, now))
164
except Exception as e:
165
_LOGGER.debug('Connection test failed: {}'.format(e))
166
return False
0 commit comments