docs: fixed identation in callback

This commit is contained in:
Artem30801
2020-10-20 01:29:12 +03:00
parent cc6f192b8e
commit 013faf7593
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ Example of a callback:
```
Args:
whoami (str, optional): What type of system the ConnectionManager is running on (`computer` or `pi`). Defaults to "computer".
whoami (str, optional): What type of system the ConnectionManager is running on (`computer` or `pi`). Defaults to "computer".

View File

@@ -706,7 +706,7 @@ class ConnectionManager(object):
```python
def callback(client, value, *args, **kwargs):
print(value, args, kwargs)
print(value, args, kwargs)
```
First argument passed to callback function is an instance of `ConnectionManager`, representing connection by which the message was received.