Browse Source

convert ident to str

tags/v0.1
Ben Kurtovic 13 years ago
parent
commit
11fb9df87e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      irc/commands/tasks.py

+ 1
- 1
irc/commands/tasks.py View File

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


for task in tasks: for task in tasks:
threads_running_task = [t for t in threads if t.name.startswith(task)] 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: if not ids:
tasklist.append("\x0302{}\x0301 (idle)".format(task)) tasklist.append("\x0302{}\x0301 (idle)".format(task))
elif len(ids) == 1: elif len(ids) == 1:


Loading…
Cancel
Save