Skip to content

Commit 8457e1f

Browse files
Save work.
1 parent 5456665 commit 8457e1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/hab_task.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
division,
99
print_function,
1010
unicode_literals)
11-
from builtins import *
11+
#from builtins import *
1212
from datetime import datetime
1313
import copy
1414
import time
@@ -67,7 +67,7 @@ def due(self):
6767
return date
6868
elif self.__task_dict['type'] == 'daily':
6969
if self.__task_dict['isDue'] == True:
70-
date = datetime.now().replace(tzinfo=pytz.utc,hour=0,minute=0,second=0,microsecond=0)
70+
date = datetime.now().replace(tzinfo=pytz.utc, hour=0, minute=0, second=0, microsecond=0)
7171
elif self.__task_dict['nextDue'] != '':
7272
date = parser.parse(self.__task_dict['nextDue'][0])
7373
return date
@@ -134,7 +134,6 @@ def dailies_due(self):
134134
@property
135135
#Is this task due today?
136136
def due_now(self):
137-
now = time.strftime()
138137
if self.__task_dict['type'] == 'daily':
139138
return ''
140139
else:

0 commit comments

Comments
 (0)