Run black on sources

This commit is contained in:
Griatch 2020-04-20 23:39:09 +02:00
parent dc81d275e6
commit 8b2b23873f
17 changed files with 102 additions and 59 deletions

View file

@ -131,7 +131,9 @@ class HelpEntryManager(TypedObjectManager):
for topic in topics:
topic.help_category = default_category
topic.save()
string = _("Help database moved to category {default_category}").format(default_category=default_category)
string = _("Help database moved to category {default_category}").format(
default_category=default_category
)
logger.log_info(string)
def search_help(self, ostring, help_category=None):