From 777c6a1a4b05831bc41e1d38ea7bc9224aa5c7d8 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Mon, 23 May 2022 19:30:47 -0400 Subject: [PATCH] fixed string replacement to use format --- seafile-sso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile-sso.py b/seafile-sso.py index f33b45b..35fb932 100644 --- a/seafile-sso.py +++ b/seafile-sso.py @@ -110,7 +110,7 @@ logger.debug("Bind successful.") logger.debug("Starting query for users in Seafile") seafileUsers = request('admin/users/', seafileURL, seafileToken)['response']['data'] # need to substract one from the len as the admin account is in the list -logger.debug("Found {0} Seafile users excluding the admin account, adminEmail".format(len(seafileUsers)-1)) +logger.debug("Found {0} Seafile users excluding the admin account, {1}".format(len(seafileUsers)-1, adminEmail)) for seafileUser in seafileUsers: if seafileUser['email'] == adminEmail: continue