Skip to content

Commit d4fb259

Browse files
committed
fix: error mode
1 parent 7f32dae commit d4fb259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/seadex/_backup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def download(self, file: StrPath | BackupFile | None = None, *, destination: Str
146146

147147
with TemporaryDirectory(ignore_cleanup_errors=True) as tmpdir:
148148
tmpfile = Path(tmpdir).resolve() / str(uuid4())
149-
with tmpfile.open("wb", errors="strict") as fp:
149+
with tmpfile.open("wb") as fp:
150150
data = self.client.backups.download(key, self.client.get_file_token())
151151
fp.write(data)
152152
try:

0 commit comments

Comments
 (0)