mirror of
https://github.com/langgenius/dify.git
synced 2026-01-29 15:13:53 +08:00
chore: apply ruff
This commit is contained in:
parent
0d33714f28
commit
786c3e4137
@ -390,8 +390,7 @@ class ClickZettaVolumeStorage(BaseStorage):
|
||||
"""
|
||||
content = self.load_once(filename)
|
||||
|
||||
with Path(target_filepath).open("wb") as f:
|
||||
f.write(content)
|
||||
Path(target_filepath).write_bytes(content)
|
||||
|
||||
logger.debug("File %s downloaded from ClickZetta Volume to %s", filename, target_filepath)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user