From bd7b74f3ba5c6dd9bb90c106dfe59577f1f3b47c Mon Sep 17 00:00:00 2001
From: Sistason <c3infra@sistason.de>
Date: Sun, 18 Apr 2021 00:13:05 +0200
Subject: [PATCH] linting :)

---
 uffd/ldap.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/uffd/ldap.py b/uffd/ldap.py
index eed9ca89..9b46e366 100644
--- a/uffd/ldap.py
+++ b/uffd/ldap.py
@@ -37,8 +37,7 @@ def check_hashed(password_hash, password):
 		salt = data[ctx.digest_size:]
 		ctx.update(salt)
 		return data == ctx.digest() + salt
-	else:
-		raise NotImplementedError()
+	raise NotImplementedError()
 
 
 class FlaskQuery(Query):
-- 
GitLab