Skip to content

Commit

Permalink
fix: close open file
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Jun 5, 2024
1 parent 0dc7a25 commit 796d6b9
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 796d6b9

Please sign in to comment.