From 3ce8b91630950fb9d1467c96f19e52d46af83ece Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 23 Jul 2021 15:54:07 -0700 Subject: [PATCH] Fix --compression command line argument. --- rarpar.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rarpar.py b/rarpar.py index cf854bb..d35b55c 100644 --- a/rarpar.py +++ b/rarpar.py @@ -499,8 +499,10 @@ def rarpar_argparse(args): compression = args.compression.lower() if args.compression is not None else None if compression == 'max': compression = COMPRESSION_MAX - if compression == 'store': + elif compression == 'store': compression = COMPRESSION_STORE + else: + compression = int(compression) status = 0 try: