Flickr-Foundation / flickr-photos-api

Look up information about photos and collections of photos from Flickr
Apache License 2.0
0 stars 0 forks source link

Add a check for empty Flickr API keys #15

Closed alexwlchan closed 7 months ago

alexwlchan commented 7 months ago

This can occur if you're getting your password using the keyring module, which an return an empty string if the password isn't there (or if you're calling it from a shell script, you can get an empty string if keyring isn't installed).

This error message makes that issue easier to diagnose.