瀏覽代碼

Fix disabled timers not being disabled

pull/2/head
Jérôme Deuchnord 3 年之前
父節點
當前提交
519f5c5ef8
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      _twitchbot/config.py

+ 3
- 1
_twitchbot/config.py 查看文件

@@ -72,7 +72,9 @@ class Timer:
pool = []

for c in param.get('pool', []):
pool.append(Command.from_dict(c))
command = Command.from_dict(c)
if not command.disabled:
pool.append(command)

return Timer(
time_between=param.get('between', {}).get('time', 10),


Loading…
取消
儲存