Because you didn’t provide an argument when you ran it.

Try:

./ledtweet.py rob

rather than just ./ledtweet.py