From a19176d22e77423f2bcd6fe5c1e29b39badd3e2d Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 23 Jun 2014 23:15:41 -0600 Subject: [PATCH] Update search.py str is a keyword. Refactored variable to search_str. --- examples/search.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/search.py b/examples/search.py index cd10aa8..6955e4f 100644 --- a/examples/search.py +++ b/examples/search.py @@ -5,10 +5,10 @@ import sys import pprint if len(sys.argv) > 1: - str = sys.argv[1] + search_str = sys.argv[1] else: - str = 'Radiohead' + search_str = 'Radiohead' sp = spotipy.Spotify() -result = sp.search(str) +result = sp.search(search_str) pprint.pprint(result)