[modules/pomodoro] Change import to fix tests
This commit is contained in:
parent
43194a8244
commit
4edae93d92
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ Left click to start timer, left click again to pause.
|
||||||
Right click will cancel the timer.
|
Right click will cancel the timer.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import bumblebee.input
|
import bumblebee.input
|
||||||
|
@ -64,4 +65,4 @@ class Module(bumblebee.engine.Module):
|
||||||
def timer_reset(self, widget):
|
def timer_reset(self, widget):
|
||||||
if self.pomodoro["state"] == "ON" or self.pomodoro["state"] == "PAUSED":
|
if self.pomodoro["state"] == "ON" or self.pomodoro["state"] == "PAUSED":
|
||||||
self.pomodoro = {"state":"OFF", "type": "n/a" }
|
self.pomodoro = {"state":"OFF", "type": "n/a" }
|
||||||
self.remaining_time = datetime.timedelta(minutes=25)
|
self.remaining_time = datetime.timedelta(minutes=25)
|
||||||
|
|
Loading…
Reference in a new issue