only default to pattern if it has commands

This commit is contained in:
jane 2021-05-26 18:23:39 -04:00
parent cc6a2efe4d
commit 1ae28c99c3

View file

@ -43,7 +43,7 @@ function tick_pattern() {
// do the parsing stuff here
log.debug("TICKING PATTERN")
if (pattern) {
if (Object.keys(pattern).length > 0) {
}
else {