Update app/blueprints/admin/actions.py

This commit is contained in:
rubenwardy 2022-01-23 17:21:07 +00:00 committed by GitHub
parent 865e0e5886
commit b7c6a3639a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ def run_update_config():
def _package_list(packages: List[str]):
# Who needs translations?
if len(packages) >= 3:
packages[len(packages) - 1] = " and " + packages[len(packages) - 1]
packages[len(packages) - 1] = "and " + packages[len(packages) - 1]
packages_list = ", ".join(packages)
else:
packages_list = " and ".join(packages)