fixed issue with copy to
This commit is contained in:
parent
c93c469576
commit
094c4256d4
@ -60,7 +60,7 @@ class Target(DatabaseObject):
|
||||
|
||||
with open(self.file_path, "rb") as read_from:
|
||||
copy_to.create_path()
|
||||
with open(self.file_path, "wb") as write_to:
|
||||
with open(copy_to.file_path, "wb") as write_to:
|
||||
write_to.write(read_from.read())
|
||||
|
||||
def stream_into(self, r: requests.Response):
|
||||
|
Loading…
Reference in New Issue
Block a user