addedd missing L

This commit is contained in:
Roumen Georgiev 2019-06-21 16:41:36 +03:00
parent 15f6a577c2
commit c5efe01163

View file

@ -67,7 +67,8 @@ public class TriggerBolusAgo extends Trigger {
return false;
double minutesAgo = (double) (DateUtil.now() - lastBolusTime) / (60 * 1000);
log.debug("LastBolus min ago: "+minutesAgo);
if (L.isEnabled(L.AUTOMATION))
log.debug("LastBolus min ago: "+minutesAgo);
boolean doRun = comparator.getValue().check((minutesAgo), getValue());
if (doRun) {