From c821deec1cd29833b037f0ff3703846794f3956b Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 5 Nov 2016 14:43:03 +0100 Subject: [PATCH] [modules/time] bugfix: Use module instance format --- bumblebee/modules/time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/time.py b/bumblebee/modules/time.py index 985997b..2046d46 100644 --- a/bumblebee/modules/time.py +++ b/bumblebee/modules/time.py @@ -28,7 +28,7 @@ class Module(bumblebee.module.Module): if module == "time": default = "%X" - self._fmt = config.parameter("format", default) + self._fmt = self._config.parameter("format", default) def widgets(self): return bumblebee.output.Widget(self, datetime.datetime.now().strftime(self._fmt))