From 4c4de1170fc579debe50258fa864c0ff58a2f37f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 6 Jan 2014 17:46:14 +0530 Subject: [PATCH] show files to upload on first sync --- pandora_client/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index da65b3f..18aa299 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -593,6 +593,9 @@ class Client(object): sent += len(post['info']) if sent: print 'sent info for %s files' % sent + #send empty list to get updated list of requested info/files/data + post = {'info': {}} + r = self.api.update({}) if not 'data' in r: print r