From 1ba618d3565471415d3156ccc5f6306de1a75e2e Mon Sep 17 00:00:00 2001 From: Tristan Carel Date: Mon, 30 Mar 2015 15:22:40 +0200 Subject: [PATCH] Fix reset of change token --- pyonedrive/py_onedrive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyonedrive/py_onedrive.py b/pyonedrive/py_onedrive.py index a9257b4..1e14657 100644 --- a/pyonedrive/py_onedrive.py +++ b/pyonedrive/py_onedrive.py @@ -247,7 +247,7 @@ def get_view_changes_generator(self, drive, change_token=None): if '@changes.resync' in response: # server is not able to provide delta. # => Force full synchronization - params = None + params = {} continue params['token'] = response['@changes.token'] if not response.get("@changes.hasMoreChanges", False):