From 9fcd2b9517c7e8659815451234904e482deb7ea0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 21 Aug 2019 16:32:07 +1000 Subject: [PATCH] protocol: make the auth error a subclass of our protocol error Signed-off-by: Peter Hutterer --- tuhi/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/protocol.py b/tuhi/protocol.py index 3d3434e..ea31648 100644 --- a/tuhi/protocol.py +++ b/tuhi/protocol.py @@ -343,7 +343,7 @@ class ProtocolError(Exception): self.message = message -class AuthorizationError(Exception): +class AuthorizationError(ProtocolError): ''' The device does not recognize our UUID. '''