This website works better with JavaScript.
首頁
說明
登入
ben
/
earwigbot
镜像来自
https://github.com/earwig/earwigbot
關註
1
收藏
1
複製
0
程式碼
版本發佈
4
Activity
瀏覽代碼
Fix small bug in shutdown code
tags/v0.1^2
Ben Kurtovic
12 年之前
父節點
c3fa92269d
當前提交
08fb35eefe
共有
2 個文件被更改
,包括
2 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
earwigbot/bot.py
+1
-1
earwigbot/util.py
+ 1
- 1
earwigbot/bot.py
查看文件
@@ -150,7 +150,7 @@ class Bot(object):
If given, 'msg' will be used as our quit message.
"""
self.logger.info("S
hut
ting
down
bot")
self.logger.info("St
opp
ing bot")
with self.component_lock:
self._stop_irc_components(msg)
self._keep_looping = False
+ 1
- 1
earwigbot/util.py
查看文件
@@ -70,7 +70,7 @@ def main():
except KeyboardInterrupt:
pass
finally:
if
not
bot._keep_looping: # Indicates bot has already been stopped
if bot._keep_looping: # Indicates bot has
n't
already been stopped
bot.stop()
if __name__ == "__main__":
Write
Preview
Loading…
取消
儲存