Skip to content

Commit

Permalink
Also moved reprodata to sessionDir
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Aug 15, 2022
1 parent 26324ec commit 5f9ab05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions daliuge-engine/dlg/manager/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ def reprostatus(self, status):
self._reprofinished = status

def write_reprodata(self):
parts = [utils.getDlgLogsDir(), self._sessionId]
the_dir = os.path.abspath(os.path.normpath(os.path.join(*parts)))
the_dir = self._sessionDir
createDirIfMissing(the_dir)
the_path = os.path.join(the_dir, "reprodata.out")
with open(the_path, "w+", encoding="utf-8") as file:
Expand Down

0 comments on commit 5f9ab05

Please sign in to comment.