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')