瀏覽代碼

Fix typo in TaskManager.start.__doc__

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
d0016933f0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      earwigbot/managers.py

+ 2
- 2
earwigbot/managers.py 查看文件

@@ -230,8 +230,8 @@ class TaskManager(_ResourceManager):
"""Start a given task in a new daemon thread, and return the thread.

kwargs are passed to :py:meth:`task.run() <earwigbot.tasks.Task.run>`.
If the task is not found, ``None`` will be returned an an error is
logged.
If the task is not found, ``None`` will be returned and an error will
be logged.
"""
msg = "Starting task '{0}' in a new thread"
self.logger.info(msg.format(task_name))


Loading…
取消
儲存