[rework] Replace old-style string formatting with new-style

This commit is contained in:
Tobias Witek 2016-10-31 07:46:21 +01:00
parent 60f63f3269
commit 8538f272d6
4 changed files with 6 additions and 6 deletions

View file

@ -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