Skip to content

Commit

Permalink
Fix formatting of log.py following the last merged PR, and fix a smal…
Browse files Browse the repository at this point in the history
…l aesthetic error in __init__
  • Loading branch information
daboross committed Jul 13, 2016
1 parent 43b7e30 commit 4f5ebee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cloudbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
4 changes: 2 additions & 2 deletions plugins/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4f5ebee

Please sign in to comment.