[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

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