From 287b62f7b889d3459e46d7476bd15b6387d4f48f Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sat, 9 Aug 2025 15:23:40 +0200 Subject: [PATCH] minor fixes --- scopes/org/user.py | 2 +- scopes/web/client.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scopes/org/user.py b/scopes/org/user.py index 336edbe..4c166c2 100644 --- a/scopes/org/user.py +++ b/scopes/org/user.py @@ -67,7 +67,7 @@ class ExtUser: data['hashedPassword'] = self.user.hashedPassword status, res = self.client.post(self.endpoints['users_human'], data) if status > 201: - if updateIfExits: + if updateIfExists: return self.update() return status, res #if self.user.groups: diff --git a/scopes/web/client.py b/scopes/web/client.py index 8b877b2..4084a11 100644 --- a/scopes/web/client.py +++ b/scopes/web/client.py @@ -6,8 +6,6 @@ import logging import requests from scopes.web.auth import oidc -import config - logger = logging.getLogger('web.client')