From c919403d089e62666bf2f49452135d404eef6e84 Mon Sep 17 00:00:00 2001 From: Milan Oberkirch Date: Thu, 2 Feb 2017 19:12:58 +1100 Subject: [PATCH] Fix indentiation of for-loop in user-album example --- EXAMPLES.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/EXAMPLES.md b/EXAMPLES.md index 2ec2cb7..fdcb57a 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -62,15 +62,15 @@ For endpoints that require usernames, once a user is authenticated we can use th ```python for album in client.get_account_albums('me'): -album_title = album.title if album.title else 'Untitled' -print('Album: {0} ({1})'.format(album_title, album.id)) + album_title = album.title if album.title else 'Untitled' + print('Album: {0} ({1})'.format(album_title, album.id)) -for image in client.get_album_images(album.id): - image_title = image.title if image.title else 'Untitled' - print('\t{0}: {1}'.format(image_title, image.link)) + for image in client.get_album_images(album.id): + image_title = image.title if image.title else 'Untitled' + print('\t{0}: {1}'.format(image_title, image.link)) -# Save some API credits by not getting all albums -break + # Save some API credits by not getting all albums + break ``` ***Output***