From 4f5ebee8209d161273a315cf3371aa56d4a1f0ef Mon Sep 17 00:00:00 2001 From: Dabo Ross Date: Wed, 13 Jul 2016 14:17:34 -0700 Subject: [PATCH] Fix formatting of log.py following the last merged PR, and fix a small aesthetic error in __init__ --- cloudbot/__init__.py | 2 +- plugins/log.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudbot/__init__.py b/cloudbot/__init__.py index 896c69749..e92f246cc 100644 --- a/cloudbot/__init__.py +++ b/cloudbot/__init__.py @@ -12,7 +12,7 @@ __version__ = "1.0.9" -__all__ = ["util", "bot", "connection", "config", "permissions", "plugin", "event", "hook", "log_dir"] +__all__ = ["util", "bot", "connection", "config", "permissions", "plugin", "event", "hook", "logging_dir"] def _setup(): diff --git a/plugins/log.py b/plugins/log.py index 57b00b58b..f0eb93e4d 100644 --- a/plugins/log.py +++ b/plugins/log.py @@ -96,12 +96,12 @@ def format_irc_event(event, args): if event.irc_ctcp_text is not None: ctcp_args = event.irc_ctcp_text.split(None, 1) - + ctcp_command = ctcp_args[0] ctcp_message = None if len(ctcp_args) > 1: ctcp_message = ctcp_args[1] - + args["ctcp_command"] = ctcp_command args["ctcp_message"] = ctcp_message