From 4edae93d923454b0e3e8257858c694a632c324e7 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Fri, 27 Sep 2019 19:33:59 +0200 Subject: [PATCH] [modules/pomodoro] Change import to fix tests --- bumblebee/modules/pomodoro.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bumblebee/modules/pomodoro.py b/bumblebee/modules/pomodoro.py index 92f9dcf..249ad2e 100644 --- a/bumblebee/modules/pomodoro.py +++ b/bumblebee/modules/pomodoro.py @@ -5,6 +5,7 @@ Left click to start timer, left click again to pause. Right click will cancel the timer. """ +from __future__ import absolute_import import datetime import bumblebee.input @@ -64,4 +65,4 @@ class Module(bumblebee.engine.Module): def timer_reset(self, widget): if self.pomodoro["state"] == "ON" or self.pomodoro["state"] == "PAUSED": self.pomodoro = {"state":"OFF", "type": "n/a" } - self.remaining_time = datetime.timedelta(minutes=25) \ No newline at end of file + self.remaining_time = datetime.timedelta(minutes=25)