Python formatting error -


what issue? tried looking tabs, see none.


file "/home/pi/jasper/client/modules/wikipedia.py", line 24   mic.say("okay, me up?")                                                     ^ indentationerror: unindent not match outer indentation level 

            """             responds user-input, typically speech text, relaying             entry wikipedia.              arguments:             text -- user-input, typically transcribed speech             mic -- used interact user (for both input , output)             profile -- contains information related user (e.g., phone                number)             """      mic.say("okay, me up?")      def saydefinition(text):         mic.say(mic.say(wikipedia.summary(text, sentences=2)))      saydefinition(mic.activelisten()) 

indentation of doc-string should same next lines:

    """     responds user-input, typically speech text, relaying     entry wikipedia.      ...     """     mic.say("okay, me up?") 

more indenting code.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

c++ - How to test/verify that zero-initialization takes place -

node.js - Webpack/TypeScript Raising Errors When node_modules is Excluded -