Merge pull request #10 from lnunno/patch-1

Update search.py
This commit is contained in:
Paul Lamere 2014-06-24 05:42:36 -04:00
commit a30a6557d1

View File

@ -5,10 +5,10 @@ import sys
import pprint import pprint
if len(sys.argv) > 1: if len(sys.argv) > 1:
str = sys.argv[1] search_str = sys.argv[1]
else: else:
str = 'Radiohead' search_str = 'Radiohead'
sp = spotipy.Spotify() sp = spotipy.Spotify()
result = sp.search(str) result = sp.search(search_str)
pprint.pprint(result) pprint.pprint(result)