only default to pattern if it has commands
This commit is contained in:
parent
cc6a2efe4d
commit
1ae28c99c3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue