Fixed ReadTheDocs

This commit is contained in:
Fabio Manganiello 2018-11-01 19:42:40 +01:00
parent 6bc976cf89
commit bf52304758
2 changed files with 8 additions and 1 deletions

View file

@ -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('../..'))

View file

@ -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 = []