Permalink
Browse files

updates

git-svn-id: http://pyechonest.googlecode.com/svn/trunk@175 ef99729e-6296-11de-9adf-53a34ab33f75
  • Loading branch information...
1 parent 24dcb6f commit 57b007adcfa043ff0197e602ff0d2a96889aa51f scottyv@media.mit.edu committed Mar 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyechonest/util.py
View
@@ -152,7 +152,7 @@ def callm(method, param_dict, POST=False, socket_timeout=None, data=None):
for key,val in param_dict.iteritems():
if isinstance(val, list):
param_list.extend( [(key,subval) for subval in val] )
- else:
+ elif val:
if isinstance(val, unicode):
val = val.encode('utf-8')
param_list.append( (key,val) )

0 comments on commit 57b007a

Please sign in to comment.