mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-28 06:03:18 +00:00
Change ' quotes to " in rclone command
' does not work as expected in windows
This commit is contained in:
@@ -525,7 +525,7 @@ class UnifiProtectBackup:
|
|||||||
Raises:
|
Raises:
|
||||||
RuntimeError: If rclone returns a non-zero exit code
|
RuntimeError: If rclone returns a non-zero exit code
|
||||||
"""
|
"""
|
||||||
cmd = f"rclone rcat -vv {rclone_args} '{destination}'"
|
cmd = f'rclone rcat -vv {rclone_args} "{destination}"'
|
||||||
proc = await asyncio.create_subprocess_shell(
|
proc = await asyncio.create_subprocess_shell(
|
||||||
cmd,
|
cmd,
|
||||||
stdin=asyncio.subprocess.PIPE,
|
stdin=asyncio.subprocess.PIPE,
|
||||||
|
|||||||
Reference in New Issue
Block a user