fixing fstring

This commit is contained in:
trhr 2020-04-16 05:53:51 -05:00
parent e3426d2124
commit 0f8c0ad9bf
9 changed files with 17 additions and 19 deletions

View file

@ -131,7 +131,7 @@ class HelpEntryManager(TypedObjectManager):
for topic in topics:
topic.help_category = default_category
topic.save()
string = _(f"Help database moved to 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):