gitignore swp and Flickr-API files
remove unnecessare, extra if statement