show files to upload on first sync

This commit is contained in:
j 2014-01-06 17:46:14 +05:30
parent 60622ee843
commit 4c4de1170f

View file

@ -593,6 +593,9 @@ class Client(object):
sent += len(post['info']) sent += len(post['info'])
if sent: if sent:
print 'sent info for %s files' % 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: if not 'data' in r:
print r print r