Skip to content

Commit

Permalink
lido: fix split dir in correct subdir not pwd
Browse files Browse the repository at this point in the history
  • Loading branch information
mokko committed Jun 1, 2024
1 parent a39cf54 commit 6e9419c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zml2lido/lidoTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ def splitLidoSingle(self, *, src: str | Path) -> None:
# existance of splitDir is a bad criterion, but cant think of a better one
if not splitDir.exists() or self.force: # self.force is True was problematic
print("SPLITLIDO making")
# os.chdir(self.script_dir)
os.chdir(self.script_dir)
self.saxon(src=src, xsl=xsl["splitLido"], output="o.xml")
# os.chdir(orig)
os.chdir(orig)
else:
print(f" SPLIT DIR exists already: {splitDir}")

Expand Down

0 comments on commit 6e9419c

Please sign in to comment.