Skip to content

Commit

Permalink
Merge pull request #7651 from fstagni/80_DISET_close_file
Browse files Browse the repository at this point in the history
[8.0] fix: close open file
  • Loading branch information
fstagni authored Jun 10, 2024
2 parents d922d22 + 796d6b9 commit 86470db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DIRAC/Core/DISET/TransferClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def sendFile(self, filename, fileId, token=""):
retVal = transport.receiveData()
return retVal
finally:
fileHelper.oFile.close()
self._disconnect(trid)

def receiveFile(self, filename, fileId, token=""):
Expand Down

0 comments on commit 86470db

Please sign in to comment.