[gofile] fix "KeyError: 'childrenIds'" (#5993)
This commit is contained in:
@@ -47,8 +47,7 @@ class GofileFolderExtractor(Extractor):
|
|||||||
raise exception.AuthorizationError("Password required")
|
raise exception.AuthorizationError("Password required")
|
||||||
|
|
||||||
num = 0
|
num = 0
|
||||||
for content_id in folder["childrenIds"]:
|
for content in contents.values():
|
||||||
content = contents[content_id]
|
|
||||||
content["folder"] = folder
|
content["folder"] = folder
|
||||||
|
|
||||||
if content["type"] == "file":
|
if content["type"] == "file":
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
# published by the Free Software Foundation.
|
# published by the Free Software Foundation.
|
||||||
|
|
||||||
__version__ = "1.27.3"
|
__version__ = "1.27.4-dev"
|
||||||
__variant__ = None
|
__variant__ = None
|
||||||
|
|||||||
Reference in New Issue
Block a user