From 1b8227f578dcca93589196cef20a638b065a2d31 Mon Sep 17 00:00:00 2001 From: Nathanael Farley Date: Mon, 16 Jan 2017 16:52:59 +0000 Subject: [PATCH] Typo in decorators.py docs. --- skybeard/decorators.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/skybeard/decorators.py b/skybeard/decorators.py index c8c9b75..f7cf9db 100644 --- a/skybeard/decorators.py +++ b/skybeard/decorators.py @@ -53,13 +53,14 @@ def debugonly(f_or_text=None, **kwargs): the default message when not in debug mode. e.g. - + .. code:: python - @debugonly("Skybeard is not in debug mode.") - async def foo(self, msg): - # This message will only be sent if skybeard is run in debug mode - await self.sender.sendMessage("You are in debug mode!") - + + @debugonly("Skybeard is not in debug mode.") + async def foo(self, msg): + # This message will only be sent if skybeard is run in debug mode + await self.sender.sendMessage("You are in debug mode!") + """ if isinstance(f_or_text, str):