Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #3025 from freenas/themylogin-patch-1
Fix AlertClass.formatted
  • Loading branch information
themylogin committed May 12, 2019
2 parents fbd1851 + 682d5b3 commit f877b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/alert/base.py
Expand Up @@ -61,7 +61,7 @@ def format(cls, args):
if args is None:
return cls.text

return cls.text % args
return cls.text % (tuple(args) if isinstance(args, list) else args)


class OneShotAlertClass:
Expand Down

0 comments on commit f877b3d

Please sign in to comment.