[modules/pomodoro] Change import to fix tests

This commit is contained in:
Tobias Witek 2019-09-27 19:33:59 +02:00
parent 43194a8244
commit 4edae93d92

View file

@ -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)
self.remaining_time = datetime.timedelta(minutes=25)