When trying to use the 'delete_intent' method, the error "module 'urllib' has no attribute 'quote_plus'" occurred.
To solve it I had to change the import from 'import urllib' to 'import urllib.parse' , change the method call from 'urllib.quote_plus()' to 'urllib.parse.quote_plus()' and it worked.
Can anyone confirm that the changes I made are correct? I'm a beginner in programming.
Sorry for the English, I'm using Google Translate.
When trying to use the 'delete_intent' method, the error "module 'urllib' has no attribute 'quote_plus'" occurred.
To solve it I had to change the import from 'import urllib' to 'import urllib.parse' , change the method call from 'urllib.quote_plus()' to 'urllib.parse.quote_plus()' and it worked.
Can anyone confirm that the changes I made are correct? I'm a beginner in programming.
Sorry for the English, I'm using Google Translate.