Skip to content

Commit

Permalink
Fix no output arg case broken by previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
badshah400 committed Feb 15, 2024
1 parent 2faf48f commit 716ae87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tartex/tartex.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def __init__(self, args):
tar_base = (
Path(f"{self.args.output}.tar").expanduser()
if self.args.output
else Path(f"{self.args.output}.tar")
else Path(self.main_file.stem).with_suffix(".tar")
)
self.tar_file = self.cwd / tar_base # The '/' operation returns tar_base
# if it is an absolute path
Expand Down

0 comments on commit 716ae87

Please sign in to comment.