Change ' quotes to " in rclone command

' does not work as expected in windows
This commit is contained in:
Sebastian Goscik
2022-03-07 22:32:20 +00:00
parent 298f500811
commit 5bd4a35d5d

View File

@@ -525,7 +525,7 @@ class UnifiProtectBackup:
Raises:
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(
cmd,
stdin=asyncio.subprocess.PIPE,