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

multithreading - Exception in Application constructor -

React Native allow user to reorder elements in a scrollview list -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -