diff --git a/aleksis/core/util/predicates.py b/aleksis/core/util/predicates.py index 1499deb4ff0a3e3c3f245a5e414ea741e7142591..b5b07fe8919700fc27637bc06057f14ba36f2b5b 100644 --- a/aleksis/core/util/predicates.py +++ b/aleksis/core/util/predicates.py @@ -68,7 +68,7 @@ def has_any_object(perm: str, klass): def is_site_preference_set(section: str, pref: str): - """Builds predicate which checks the boolean value of a given site preference""" + """Check the boolean value of a given site preference.""" name = f"check_site_preference:{section}__{pref}" @predicate(name)