Skip to content

Commit

Permalink
sweep: DIRACGrid#7651 fix: close open file
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni authored and web-flow committed Jun 10, 2024
1 parent 877f334 commit 2353d1f
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 2353d1f

Please sign in to comment.