Skip to content

Commit

Permalink
fixed Line too long (132/125)
Browse files Browse the repository at this point in the history
  • Loading branch information
obervinov committed Oct 11, 2024
1 parent e8915d1 commit 9909143
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion messages/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ def render_template(
return template['text'].format(*arguments)
except KeyError as error:
print(f"[Messages]: template not found: {template_alias}")
raise TemplateNotFound("Template not found in the configuration file. Please check your configuration file.") from error
raise TemplateNotFound(
"Template not found in the configuration file. Please check your configuration file."
) from error

def render_progressbar(
self,
Expand Down

0 comments on commit 9909143

Please sign in to comment.