Skip to content

Commit 8047968

Browse files
committed
changed append to extend (no nested list)
1 parent 07359cc commit 8047968

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
@@ -61,7 +61,7 @@ def upload_to_nextcloud(source_paths: list[str], remote_name: str, remote_path:
6161
print(f"Upload: {path}{destination}")
6262
try:
6363
subprocess.run(command, check=True)
64-
result.append(tmp_results)
64+
result.extend(tmp_results)
6565
print("✅ Uploaded successfully.\n")
6666
except subprocess.CalledProcessError as e:
6767
print(f"❌ Error uploading {path}: {e}\n")

0 commit comments

Comments
 (0)