master updates #41
@ -122,7 +122,7 @@ class Timers_Module():
|
||||
result = endT - datetime.timedelta(days=curTime.day, hours=curTime.hour, minutes=curTime.minute, seconds=curTime.second, microseconds=curTime.microsecond)
|
||||
print(type(result))
|
||||
|
||||
#self.TIMER_EXEC(name, datetime.datetime.strptime(startTime, '%Y-%m-%d %H:%M:%S.%f'), datetime.datetime.strptime(endTime, '%Y-%m-%d %H:%M:%S.%f'), trigger, trigger_exec, utility.strToBool(tempTimer))
|
||||
self.TIMER_EXEC(name, datetime.datetime.strptime(startTime, '%Y-%m-%d %H:%M:%S.%f'), datetime.datetime.strptime(endTime, '%Y-%m-%d %H:%M:%S.%f'), trigger, trigger_exec, utility.strToBool(tempTimer))
|
||||
fixedEndTime = datetime.datetime.strftime(result, '%M:%S')
|
||||
return str("Timer Done")
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user