Skip to content

Commit 6596cbc

Browse files
committed
updated upload_to_nextcloud function to accept list of source_paths
1 parent 0ce0c24 commit 6596cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nextcloudclient/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_all_files(path):
2424
files.append(os.path.join(root, name))
2525
return files
2626

27-
def upload_to_nextcloud(source_paths: str, remote_name: str, remote_path: str, webdav_url: str):
27+
def upload_to_nextcloud(source_paths: list[str], remote_name: str, remote_path: str, webdav_url: str):
2828
result = []
2929
for path in source_paths:
3030
if not os.path.exists(path):

0 commit comments

Comments
 (0)