Skip to content

Commit

Permalink
Typo in decorators.py docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
natfarleydev committed Jan 16, 2017
1 parent 1cf82dc commit 1b8227f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions skybeard/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1b8227f

Please sign in to comment.