fixed string replacement to use format

This commit is contained in:
2022-05-23 19:30:47 -04:00
parent b6a3de34ae
commit 777c6a1a4b

View File

@@ -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