report bandwidth, only pull changes

This commit is contained in:
j 2015-12-01 00:26:35 +01:00
commit 68383b8834
8 changed files with 78 additions and 26 deletions

View file

@ -34,6 +34,8 @@ def api_pullChanges(remote_id, user_id=None, from_=None, to=None):
return [c.json() for c in qs]
def api_pushChanges(user_id, changes):
logger.debug('pushChanges no longer used, ignored')
return True
user = User.get(user_id)
if not Changelog.apply_changes(user, changes):
logger.debug('FAILED TO APPLY CHANGE')