diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index 11a0da1..c03bbda 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -714,6 +714,7 @@ class Client(object): def update_info(self, info, prefix=None): if info: + print 'sending info for %d files' % len(info) post = {'info': {}, 'upload': True} post['info'] = self.get_info_for_ids(info, prefix) r = self.api.update(post) @@ -723,7 +724,6 @@ class Client(object): while t['data']['status'] == 'PENDING': time.sleep(5) t = self.api.taskStatus(task_id=r['data']['taskId']) - print 'sent info for %s files' % len(post['info']) #send empty list to get updated list of requested info/files/data post = {'info': {}} r = self.api.update(post)