From ca99affb035a75f15e6854e84270bb6d8ebea382 Mon Sep 17 00:00:00 2001 From: ab-anand Date: Mon, 29 Aug 2022 23:30:14 +0530 Subject: [PATCH] recursion fix --- zdrive/download/downloader.py | 2 +- zdrive/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zdrive/download/downloader.py b/zdrive/download/downloader.py index d79f545..2516523 100644 --- a/zdrive/download/downloader.py +++ b/zdrive/download/downloader.py @@ -40,7 +40,7 @@ def getAllFiles(self, folderId, destinationFolder=None): results = self.service.files().list( spaces='drive', pageToken=page_token, - q="parents in '{0}'".format(folderId), + q="'{0}' in parents".format(folderId), fields="nextPageToken, files(id, name, mimeType)" ).execute() diff --git a/zdrive/version.py b/zdrive/version.py index ca72c80..8077eb5 100644 --- a/zdrive/version.py +++ b/zdrive/version.py @@ -1,2 +1,2 @@ # Version of ZDrive package -VERSION = "2.1.3" +VERSION = "2.1.4"