From 611911823d6df94429bbe9ddc2df4e8c6ec866fb Mon Sep 17 00:00:00 2001 From: lawtancool <26829131+lawtancool@users.noreply.github.com> Date: Fri, 24 Nov 2023 19:53:10 -0800 Subject: [PATCH] Format with black --- pyControl4/error_handling.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyControl4/error_handling.py b/pyControl4/error_handling.py index 1021a86..e0e60c4 100644 --- a/pyControl4/error_handling.py +++ b/pyControl4/error_handling.py @@ -29,7 +29,7 @@ class BadToken(Unauthorized): class InvalidCategory(C4Exception): - """Raised when an invalid category is provided when calling + """Raised when an invalid category is provided when calling `pyControl4.director.C4Director.getAllItemsByCategory`.""" @@ -39,10 +39,7 @@ class InvalidCategory(C4Exception): "Permission denied Bad credentials": BadCredentials, } -DIRECTOR_ERRORS = { - "Unauthorized": Unauthorized, - "Invalid category": InvalidCategory -} +DIRECTOR_ERRORS = {"Unauthorized": Unauthorized, "Invalid category": InvalidCategory} DIRECTOR_ERROR_DETAILS = {"Expired or invalid token": BadToken}