From da8d85d7e80dd24b08a1d27821907cd82fd3156e Mon Sep 17 00:00:00 2001 From: Caleb Grant Date: Wed, 14 Aug 2024 09:50:02 -0700 Subject: [PATCH] do not delete existing logfile Signed-off-by: Caleb Grant --- crosstab/crosstab.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/crosstab/crosstab.py b/crosstab/crosstab.py index 4a2aff2..e2b7cf6 100644 --- a/crosstab/crosstab.py +++ b/crosstab/crosstab.py @@ -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: