Skip to content

Commit 6decdaa

Browse files
author
Nils
committed
fix loop var
1 parent 1165583 commit 6decdaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syncmymoodle/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ def scanForLinks(
10891089
)
10901090

10911091
# recursive function to get all files in the sciebo folder
1092-
def get_sciebo_files(href: str, parent_node: Node):
1092+
def get_sciebo_files(href: str, parent_node: Node, sharingToken: str, auth_header: dict):
10931093

10941094
# request the URL with the PROPFIND method and the header
10951095
response = self.session.request(
@@ -1140,7 +1140,7 @@ def get_sciebo_files(href: str, parent_node: Node):
11401140
additional_info=auth_header,
11411141
)
11421142

1143-
get_sciebo_files(webdav_location, parent_node)
1143+
get_sciebo_files(webdav_location, parent_node, sharingToken, auth_header)
11441144

11451145

11461146
def main():

0 commit comments

Comments
 (0)