From 3db2e80d7fb19d257643292887001f936d6c3e64 Mon Sep 17 00:00:00 2001 From: voc0der Date: Fri, 29 Nov 2024 13:59:33 -0500 Subject: [PATCH] Try 2 --- apprise/plugins/matrix.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apprise/plugins/matrix.py b/apprise/plugins/matrix.py index 36763e47..31c1e298 100644 --- a/apprise/plugins/matrix.py +++ b/apprise/plugins/matrix.py @@ -1403,9 +1403,11 @@ class NotifyMatrix(NotifyBase): # re-use our credentials with return + if self.access_token != None and self.access_token == self.password and not self.user: + return + try: - print(1) - #self._logout() + self._logout() except LookupError: # pragma: no cover # Python v3.5 call to requests can sometimes throw the exception