error

The code as it was at 18 min in the Video is not working for me  

 I'm getting an error.

Only after adding the code from the provided scripts did I get the expected result . In the video we learned how to catch the 'no camera option', but the error I got about the string enum I don't understand

1 love
Reply
  • Martin Bergwerf replied

    HI Sheila,

    Could that be because of the missing underscore in your 'INVOKE DEFAULT' ?

    Sorry, I don't know much Python and am not this far in the course yet.

    • ☝🏻
    2 loves
  • Adrian Bellworthy replied

    Yeah! I agree with Spikey,
    INVOKE_DEFAULT

    2 loves
  • Dwayne Savage(dillenbata3) replied

    As Martin stated it is because there's no underscore between the words. Also if you look at the error it gives all the acceptable parameters. The error is confusing in the way it's worded. It should say that your string didn't match the acceptable strings. Side note: python is case sensitive. You would get the same error if you type it in lowercase. 

    1 love
  • sheila5 replied

    Thanks guys, I really didn't see it. 

    1 love