Skip to content

Commit

Permalink
do not delete existing logfile
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Grant <[email protected]>
  • Loading branch information
geocoug committed Aug 14, 2024
1 parent 0ff08fd commit da8d85d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crosstab/crosstab.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,6 @@ def clparser() -> argparse.ArgumentParser:
def cli() -> None:
"""Main command line entrypoint for the xtab function."""
args = clparser().parse_args()
if args.log and args.log.exists():
args.log.unlink()
if not args.quiet:
logger.addHandler(logging.StreamHandler())
if args.log:
Expand Down

0 comments on commit da8d85d

Please sign in to comment.