abertschi / postcards

A CLI for the Swiss Postcard Creator :postbox:
https://abertschi.ch/blog/2022/receiving-postcards/
MIT License
36 stars 8 forks source link

Use --key flag #6

Closed Liblor closed 7 years ago

Liblor commented 7 years ago

I still used the old branch, as it is something I forgot to add

abertschi commented 7 years ago

if --key is not set, will this run into an array index out of bound?

Liblor commented 7 years ago

No, but a TypeError, as the default value is a boolean :sweat_smile: I expected the boolean to be wrapped in a list/tupel, sorry for not verifying :no_mouth: I quickly fixed it.