forked from platypush/platypush
Fixed ReadTheDocs
This commit is contained in:
parent
6bc976cf89
commit
bf52304758
2 changed files with 8 additions and 1 deletions
|
@ -181,6 +181,8 @@ intersphinx_mapping = {'https://docs.python.org/': None}
|
|||
todo_include_todos = True
|
||||
|
||||
autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers',
|
||||
'google.assistant.embedded',
|
||||
'tenacity',
|
||||
'smartcard',
|
||||
'Leap',
|
||||
'oauth2client',
|
||||
|
@ -190,7 +192,9 @@ autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers',
|
|||
'Adafruit_IO',
|
||||
'pyperclip',
|
||||
'dbus',
|
||||
'inputs'
|
||||
'inputs',
|
||||
'inotify',
|
||||
'omxplayer',
|
||||
]
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
|
|
|
@ -2,11 +2,14 @@ import sys
|
|||
import logging
|
||||
import traceback
|
||||
|
||||
from functools import wraps
|
||||
|
||||
from platypush.config import Config
|
||||
from platypush.message.response import Response
|
||||
from platypush.utils import get_decorators
|
||||
|
||||
def action(f):
|
||||
@wraps(f)
|
||||
def _execute_action(*args, **kwargs):
|
||||
output = None
|
||||
errors = []
|
||||
|
|
Loading…
Reference in a new issue