[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
|
@ -30,7 +30,7 @@ def main():
|
|||
# (useful error messages)
|
||||
module_name = m if not ":" in m else m.split(":")[0]
|
||||
module_args = None if not ":" in m else m.split(":")[1:]
|
||||
module = importlib.import_module("bumblebee.modules.%s" % module_name)
|
||||
module = importlib.import_module("bumblebee.modules.{}".format(module_name))
|
||||
modules.append(getattr(module, "Module")(theme, module_args))
|
||||
|
||||
output = bumblebee.outputs.i3.i3bar()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue