From 9f9b27ad7ac1aa06ec46975238252997ec161492 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 5 Nov 2016 13:53:08 +0100 Subject: [PATCH] [modules] Re-enable spacer --- bumblebee/modules/spacer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bumblebee/modules/spacer.py b/bumblebee/modules/spacer.py index 189939d..c82952c 100644 --- a/bumblebee/modules/spacer.py +++ b/bumblebee/modules/spacer.py @@ -11,10 +11,10 @@ def description(): return "Draws an empty field." class Module(bumblebee.module.Module): - def __init__(self, output, args): - super(Module, self).__init__(args) + def __init__(self, output, config): + super(Module, self).__init__(output, config) - def data(self): - return "" + def widgets(self): + return bumblebee.output.Widget(self, "") # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4