浏览代码

convert ident to str

tags/v0.1
Ben Kurtovic 13 年前
父节点
当前提交
11fb9df87e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      irc/commands/tasks.py

+ 1
- 1
irc/commands/tasks.py 查看文件

@@ -79,7 +79,7 @@ class Tasks(BaseCommand):

for task in tasks:
threads_running_task = [t for t in threads if t.name.startswith(task)]
ids = map(lambda t: t.ident, threads_running_task)
ids = map(lambda t: str(t.ident), threads_running_task)
if not ids:
tasklist.append("\x0302{}\x0301 (idle)".format(task))
elif len(ids) == 1:


正在加载...
取消
保存