Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Josue-T 2020-09-16 23:22:22 +02:00 committed by GitHub
parent 8c92f011d5
commit c4dc8b4cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,7 +174,7 @@ def user_permission_update(operation_logger, permission, add=None, remove=None,
if "visitors" not in new_allowed_groups or len(new_allowed_groups) >= 3:
logger.warning(m18n.n("permission_currently_allowed_for_all_users"))
# Note that we can get is argument as string we it come from the CLI
# Note that we can get this argument as string if we it come from the CLI
if isinstance(show_tile, str):
if show_tile.lower() == "true":
show_tile = True