[rework] Replace old-style string formatting with new-style
This commit is contained in:
parent
60f63f3269
commit
8538f272d6
4 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ class i3bar(bumblebee.output.Output):
|
|||
theme = obj.theme()
|
||||
|
||||
data = {
|
||||
"full_text": "%s%s%s" % (theme.prefix(obj), obj.data(), theme.suffix(obj))
|
||||
"full_text": "{}{}{}".format(theme.prefix(obj), obj.data(), theme.suffix(obj))
|
||||
}
|
||||
if theme.default_separators(obj) == False:
|
||||
data["separator"] = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue